Problem description:
I make my own path at urls.py like this :
and here my own template (ndex.html) :
halaman utamaIni halaman index
Expected behavior:
my path /utama running index.html
Actual behavior:
but i’ve got this error :
Page not found (404)
Request Method: | GET |
---|---|
Request URL: | http://cobaan-django--titaniadwiandin.repl.co/utama |
Using the URLconf defined in django_project.urls
, Django tried these URL patterns, in this order:
- admin/
The current path, utama
, 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.
Steps to reproduce:
Bug appears at this link:
Browser/OS/Device: