Page not found (404)

Request Method: GET
Request URL: https://sana-shop.ir/categories.php?id=37

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

  1. admin/
  2. [name='home']
  3. products [name='products']
  4. detail/<int:id>/ [name='detail']
  5. category/<slug>/<int:id>/ [name='category']
  6. like/<int:id>/ [name='product_like']
  7. unlike/<int:id>/ [name='product_unlike']
  8. comment/<int:id>/ [name='product_comment']
  9. reply/<int:id>/<int:comment_id>/ [name='product_reply']
  10. like_comment/<int:id>/ [name='comment_like']
  11. search/ [name='product_search']
  12. favourite/<int:id>/ [name='favourite']
  13. contact/ [name='contact']
  14. accounts/
  15. cart/
  16. order/
  17. ckeditor/
  18. __reload__/
  19. ^static/(?P<path>.*)$
  20. ^media/(?P<path>.*)$

The current path, categories.php, 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.