Page not found (404)

No Resource found matching the query
Request Method: GET
Request URL: http://staging.njctl.org/materials/resources/raft-lab-1000-wins-2-9658/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/raft-lab-1000-wins-2-9658/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.