Page not found (404)

No Product matches the given query.
Request Method: GET
Request URL: http://darknet24.pl/szczegoly/produkt/12951/
Raised by: app.views.post_detail

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

  1. admin/
  2. [name='home']
  3. wsparcie/ [name='support']
  4. report/ [name='report']
  5. wyszukaj/ [name='search']
  6. szczegoly/produkt/<int:id>/ [name='post_detail']

The current path, szczegoly/produkt/12951/, 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.