Page not found (404)

No Job matches the given query.
Request Method: GET
Request URL: http://127.0.0.1:8000/job/1/apply
Raised by: app.views.apply_for_job

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

  1. admin/
  2. [name='index']
  3. about [name='about']
  4. contact [name='contact']
  5. dealer [name='dealer']
  6. book_test_ride [name='book_test_ride']
  7. success [name='success']
  8. why_ecoyan [name='why_ecoyan']
  9. photos [name='photos']
  10. e_rickshaw [name='e_rickshaw']
  11. e_cargo [name='e_cargo']
  12. e_garbage [name='e_garbage']
  13. golf_cart [name='golf_cart']
  14. robots.txt [name='robots_txt']
  15. blogs [name='blogs']
  16. blogs/<slug:slug> [name='blogpost_detail']
  17. job_list [name='job_list']
  18. job/<slug:slug> [name='job_detail']
  19. job/<slug:slug>/apply [name='apply_for_job']

The current path, job/1/apply, 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.