Page not found (404)

No Page matches the given query.
Request Method: GET
Request URL: https://giljeselskapslokaler.no/4/utleiepriser/
Raised by: apps.pages.views.page

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

  1. admin/
  2. [name='home']
  3. <int:page_id>/<slug:page_slug>/ [name='page']

The current path, 4/utleiepriser/, 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.