Page not found (404)

“/home/incomnyw/tcpimmigrationservice.ca/public/static/js/index.js” does not exist
Request Method: GET
Request URL: https://tcpimmigrationservice.ca/static/js/index.js
Raised by: django.views.static.serve

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

  1. admin/
  2. [name='home']
  3. migrate/
  4. logout/ [name='logout']
  5. signup/ [name='signup']
  6. login/ [name='login']
  7. reset-password/ [name='reset-password']
  8. reset-password-sent/ [name='password_reset_done']
  9. reset/<slug:uidb64>/<slug:token>/ [name='password_reset_confirm']
  10. reset-password-complete/ [name='password_reset_complete']
  11. ^static/(?P<path>.*)$

The current path, static/js/index.js, 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.