Page not found (404)

No Especialidade matches the given query.
Request Method: GET
Request URL: https://www.udi24horas.com.br/especialidades/gastro-e-girurgiao
Raised by: landingBase.views.spec_detail

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

  1. admin/
  2. api-token-auth/ [name='api_token_auth']
  3. [name='home']
  4. sobre/ [name='about']
  5. eula/ [name='eula']
  6. formlgpd/ [name='formlgpd']
  7. lgpd/ [name='lgpd']
  8. unidades/ [name='units']
  9. unidades/<slug:slug>/ [name='unit_detail']
  10. especialidades/ [name='specs']
  11. especialidades/<slug:slug> [name='spec_detail']

The current path, especialidades/gastro-e-girurgiao, 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.