Page not found (404)

No Course matches the given query.
Request Method: GET
Request URL: http://www.martaconcurseira.com/cursos/detalhes/monografis-orientador-tcc/
Raised by: courses.views.course_detail

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

  1. admin/
  2. blog/
  3. cursos/ detalhes/<slug:slug>/ [name='course_detail']

The current path, cursos/detalhes/monografis-orientador-tcc/, 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.