Page not found (404)

Request Method: GET
Request URL: http://127.0.0.3:8000/auth/empresas/adicionar

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

  1. admin/
  2. [name='welcome']
  3. auth/login/ [name='login']
  4. register/ [name='register']
  5. api/
  6. api-auth/
  7. empresas/ [name='index']
  8. about/ [name='about']
  9. empresas/adicionar/ [name='addNew']
  10. auth/ login/ [name='login']
  11. auth/ logout/ [name='logout']
  12. auth/ password_change/ [name='password_change']
  13. auth/ password_change/done/ [name='password_change_done']
  14. auth/ password_reset/ [name='password_reset']
  15. auth/ password_reset/done/ [name='password_reset_done']
  16. auth/ reset/<uidb64>/<token>/ [name='password_reset_confirm']
  17. auth/ reset/done/ [name='password_reset_complete']
  18. auth/register/ [name='register']
  19. logout/ [name='logout']
  20. empresa/<int:empresa_id>/ [name='empresa']
  21. empresa/<int:empresa_id>/adicionarsalario/ [name='addSalario']
  22. account/ [name='account']
  23. favicon.ico

The current path, auth/empresas/adicionar, 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.