Page not found (404)

Request Method: GET
Request URL: http://staging.njctl.org/materials/resources/njctl-ap-computer-science-a-course-overview/attachments/
Raised by: apps.course_material.views.AttachmentDetailView

Using the URLconf defined in urls, Django tried these URL patterns, in this order:

  1. admin/
  2. who-we-are/media/
  3. comments/
  4. search/
  5. manage/
  6. materials/ [name='category-list']
  7. materials/ <model_type>/ [name='category-list']
  8. materials/ <model_type>/<slug>/attachments/ [name='attachment-detail']

The current path, materials/resources/njctl-ap-computer-science-a-course-overview/attachments/, matched the last one.

You’re seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.