Page not found (404)

“C:\vhosts\uprisk-server\Gallery.aspx” does not exist
Request Method: GET
Request URL: http://localhost:4994/Gallery.aspx?itemID=9958
Raised by: django.views.static.serve

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

  1. openadmin/
  2. admin/
  3. super-up-plan-admin/
  4. auth/
  5. accounts/
  6. api/
  7. api/
  8. api/
  9. api/
  10. api/
  11. api/
  12. api/reports/
  13. ^uprisk/(?P<path>.*)$
  14. ^(?P<path>.*)$/uprisk/
  15. ^static/(?P<path>.*)$
  16. ^(?P<path>.*)$

The current path, Gallery.aspx, 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.