Page not found (404)

Nie znaleziono ogloszenie spełniających wybrane kryteria
Request Method: GET
Request URL: http://gold-service.pl/ogloszenia/zdjecia/137?active=4
Raised by: django.views.generic.detail.DetailView

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

  1. ^admin/
  2. ^ ^$ [name='index']
  3. ^ ^contact/$ [name='contact']
  4. ^ogloszenia/ ^$ [name='grid']
  5. ^ogloszenia/ ^(?P<pk>\d+)$
  6. ^ogloszenia/ ^zdjecia/(?P<pk>\d+)$

The current path, ogloszenia/zdjecia/137, 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.