Page not found (404)

No Redirect matches the given query.
Request Method: GET
Request URL: https://gek.kh.ua/objects/detail/offices/263/1
Raised by: landing.views.redirect_view

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

  1. ^$ [name='main']
  2. ^search/[\w-]*$ [name='main']
  3. superadmin/
  4. ^users/
  5. ^common/
  6. ^admin/
  7. ^ckeditor/
  8. ^articles/
  9. ^services/
  10. ^objects/ ^detail/buildings/(?P<pk>[\w-]+)/$ [name='buildings_detail']
  11. ^objects/ ^buildings/[\w-]* [name='buildings']
  12. ^objects/ ^newbuildings/[\w-]* [name='newbuildings']
  13. ^objects/ ^detail/newbuildings/(?P<slug>[\w-]+)$ [name='newbuilding_detail']
  14. ^objects/ ^offices/[\w-]* [name='ofices']
  15. ^objects/ ^detail/offices/(?P<pk>[\w-]+)/$ [name='ofice_detail']
  16. ^objects/ ^dailys/[\w-]* [name='dailys']
  17. ^objects/ ^detail/dailys/(?P<pk>[\w-]+)/$ [name='daily_detail']
  18. ^objects/ ^earth/[\w-]* [name='earth']
  19. ^trust/
  20. ^contacts/
  21. ^video/
  22. favorites/
  23. plan/
  24. tests/
  25. save-application/$ [name='save_application']
  26. ^static/(?P<path>.*)$
  27. ^ ^(?P<slug>[\w-]+) [name='landing']

The current path, objects/detail/offices/263/1, 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.