Closed harlonjo closed 6 months ago
sdf ['manage.py', 'runserver', '0.0.0.0:21114'] [13/May/2024 08:17:17] "GET / HTTP/1.1" 302 0 [13/May/2024 08:17:17] "GET /api/work HTTP/1.1" 302 0 settings:UserProfile matching query does not exist. [13/May/2024 08:17:17] "GET /api/user_action?action=login&next=/api/work HTTP/1.1" 200 2107 [13/May/2024 08:17:17] "GET /static/layui/css/style.css HTTP/1.1" 200 11806 [13/May/2024 08:17:17] "GET /static/layui/css/layui.css HTTP/1.1" 200 123320 [13/May/2024 08:17:17] "GET /static/layui/layui.js HTTP/1.1" 200 344287 [13/May/2024 08:17:17] "GET /favicon.ico HTTP/1.1" 404 179 settings:UserProfile matching query does not exist. [13/May/2024 08:17:35] "GET /api/user_action?action=register HTTP/1.1" 200 5478 [13/May/2024 08:17:36] "GET /frame/static/image/code.png HTTP/1.1" 404 179 [13/May/2024 08:17:46] "GET /static/layui/font/iconfont.woff2?v=282 HTTP/1.1" 200 29736 [13/May/2024 08:18:18] "POST /api/user_action?action=register HTTP/1.1" 200 112 settings:UserProfile matching query does not exist. [13/May/2024 08:18:20] "GET /api/user_action?action=login HTTP/1.1" 200 2107 [13/May/2024 08:18:22] "POST /api/user_action?action=login HTTP/1.1" 200 70 settings:UserProfile matching query does not exist. [13/May/2024 08:19:52] "GET /api/user_action?action=register HTTP/1.1" 200 5478 [13/May/2024 08:20:04] "POST /api/user_action?action=register HTTP/1.1" 200 112 [13/May/2024 08:20:11] "POST /api/user_action?action=register HTTP/1.1" 200 112 [13/May/2024 08:22:20,999] - Broken pipe from ('127.0.0.1', 55384) settings:UserProfile matching query does not exist. [13/May/2024 08:23:02] "GET /api/user_action?action=login HTTP/1.1" 200 2107 [13/May/2024 08:23:11] "POST /api/user_action?action=login HTTP/1.1" 200 70 [13/May/2024 08:23:16] "POST /api/user_action?action=login HTTP/1.1" 200 70
看说明。把setings.py中的开关打开。
sdf ['manage.py', 'runserver', '0.0.0.0:21114'] [13/May/2024 08:17:17] "GET / HTTP/1.1" 302 0 [13/May/2024 08:17:17] "GET /api/work HTTP/1.1" 302 0 settings:UserProfile matching query does not exist. [13/May/2024 08:17:17] "GET /api/user_action?action=login&next=/api/work HTTP/1.1" 200 2107 [13/May/2024 08:17:17] "GET /static/layui/css/style.css HTTP/1.1" 200 11806 [13/May/2024 08:17:17] "GET /static/layui/css/layui.css HTTP/1.1" 200 123320 [13/May/2024 08:17:17] "GET /static/layui/layui.js HTTP/1.1" 200 344287 [13/May/2024 08:17:17] "GET /favicon.ico HTTP/1.1" 404 179 settings:UserProfile matching query does not exist. [13/May/2024 08:17:35] "GET /api/user_action?action=register HTTP/1.1" 200 5478 [13/May/2024 08:17:36] "GET /frame/static/image/code.png HTTP/1.1" 404 179 [13/May/2024 08:17:46] "GET /static/layui/font/iconfont.woff2?v=282 HTTP/1.1" 200 29736 [13/May/2024 08:18:18] "POST /api/user_action?action=register HTTP/1.1" 200 112 settings:UserProfile matching query does not exist. [13/May/2024 08:18:20] "GET /api/user_action?action=login HTTP/1.1" 200 2107 [13/May/2024 08:18:22] "POST /api/user_action?action=login HTTP/1.1" 200 70 settings:UserProfile matching query does not exist. [13/May/2024 08:19:52] "GET /api/user_action?action=register HTTP/1.1" 200 5478 [13/May/2024 08:20:04] "POST /api/user_action?action=register HTTP/1.1" 200 112 [13/May/2024 08:20:11] "POST /api/user_action?action=register HTTP/1.1" 200 112 [13/May/2024 08:22:20,999] - Broken pipe from ('127.0.0.1', 55384) settings:UserProfile matching query does not exist. [13/May/2024 08:23:02] "GET /api/user_action?action=login HTTP/1.1" 200 2107 [13/May/2024 08:23:11] "POST /api/user_action?action=login HTTP/1.1" 200 70 [13/May/2024 08:23:16] "POST /api/user_action?action=login HTTP/1.1" 200 70