Home > other >  Python django clew cannot find the path
Python django clew cannot find the path

Time:05-05

Problem: visit http://127.0.0.1:8000/login/suggests the following
Page not found (404)
The Request Method: GET
The Request URL: http://127.0.0.1:8000/login/
Using the URLconf defined in PythonProject urls, Django tried these URL patterns, in this order:

1. ^ media/? P . *) $
2. ^ BookType/
3. ^ Book/
4. ^ ^ $[name='index']
5. ^ ^ frontLogin $[name='frontLogin']
6. ^ ^ frontLoginout $[name='frontLoginout']
7. ^ ^ the login $[name='login'] # & lt; -- -- -- -- -- - according to the logic should be matching the line
8. ^ ^ loginout $[name='loginout']
9. ^ ^ changePassword $[name='changePassword']
10. ^ ^ the main $[name='main']
11. ^ tinymce/
The current path, The login/, didn 't match any of these.

Preliminary analysis: the login access path and the system of the listed 7 line should match, why system error?
  • Related