Page not found (404)

Request Method: GET
Request URL: http://127.0.0.1:8000/curso/index.html

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

  1. ^$ [name='home']
  2. ^quem_somos/ [name='quem_somos']
  3. ^cursos/ [name='cursos']
  4. ^cursos/(?P<selected_page>\d+)/?$
  5. ^curso/(?P<cursoSlug>[-a-zA-Z0-9]+)/?$ [name='curso_item']
  6. ^contato/ [name='contato']
  7. ^contato_efetuado/ [name='contato_efetuado']
  8. ^admin/
  9. ^media/(?P<path>.*)$
  10. ^static/(?P<path>.*)$

The current URL, curso/index.html, didn't match any of these.

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.