How do i fix this error please any help
Please provide more details about your application.
What do you have that would make you think that “accounts/profile/” would be a valid URL?
Future suggestion - please title your posts with a brief identification of the issue and not just “I got this error”.
Also, note that it’s a lot better if you copy/paste text into your messages instead of providing screen images.
Page not found (404)
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/accounts/profile/ |
Using the URLconf defined in Config.urls
, Django tried these URL patterns, in this order:
- login/ [name=‘login’]
- [name=‘home’]
- admin/
The current path, accounts/profile/
, 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.