Page not found (404)

No Travel matches the given query.
Request Method: GET
Request URL: http://tdway.com/travels/3710/
Raised by: tdway.reports.views_travel.view_travel

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

  1. ^__debug__/
  2. ^api/
  3. ^ ^$ [name='index']
  4. ^ ^category/(?P<group_id>[a-z]+)/$ [name='category']
  5. ^ ^travels/(?P<travel_id>[0-9]+)/$ [name='travel_view']

The current path, travels/3710/, 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.