Page not found (404)

No Page matches the given query.
Request Method: GET
Request URL: https://astanafood.ru/picca_peperoni_30_sm/
Raised by: home.views.page_detail

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

  1. cart/
  2. orders/
  3. coupons/
  4. catalog/
  5. blog/
  6. admin/
  7. accounts/
  8. accounts/
  9. ckeditor/
  10. yafeed/
  11. [name='home']
  12. search/ [name='search_results']
  13. sitemap.xml [name='django.contrib.sitemaps.views.index']
  14. robots.txt
  15. login/ [name='home_login']
  16. logout/ [name='home_logout']
  17. <slug:slug>/ [name='page_detail']

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