简体   繁体   中英

Django error: 404 URL Page not found error

I am getting this 404 error when I am trying to access the website using the url https://127.0.0.1:7000/nba/

You haven't set up your URL patterns in Django. You can see this from the error as it states that it tried the pattern 'admin/' and no others. 'admin/' is the default path that comes with Django. All other url paths need to be added. Here are some examples. And here are the docs as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM