Page not found (404)

Request Method: GET
Request URL: https://abfars.com/product/35/product/22/

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

  1. admin/
  2. [name='index']
  3. product/<id>/ [name='product']
  4. staff/
  5. ^media/(?P<path>.*)$
  6. ^static/(?P<path>.*)$
  7. ^media/(?P<path>.*)$

The current path, product/35/product/22/, 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.