Page not found (404)

Request Method: GET
Request URL: https://cakes.co.ke/gallery.html

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

  1. admin/
  2. swagger/ [name='schema-swagger-ui']
  3. redoc/ [name='schema-redoc']
  4. api/users/
  5. api/products/
  6. api/weights/
  7. api/categories/
  8. api/orders/
  9. api/locations/
  10. api/toppings/
  11. api/enrollments/
  12. api/courses/
  13. api/instructors/
  14. api/students/
  15. api/curriculums/
  16. whatsapp/
  17. ^media/(?P<path>.*)$

The current path, gallery.html, 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.