Page not found (404)

No tour found matching the query
Request Method: GET
Request URL: https://www.moscowprivatetours.com/tours/ecotour
Raised by: main.views.TourDetailView

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

  1. admin/
  2. reports/
  3. django_plotly_dash/
  4. [name='index']
  5. blog/ [name='blog']
  6. blog/<slug:slug> [name='post']
  7. guides/<slug:slug> [name='guide']
  8. tours/ [name='tours']
  9. tours/<slug:slug> [name='tour']

The current path, tours/ecotour, 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.