zhuinfo/Django-ERP

兄弟,搭建好了无法访问。

Opened this issue · 3 comments

兄弟搭建好了无法访问。
Performing system checks...

System check identified no issues (0 silenced).
June 12, 2018 - 10:18:11
Django version 1.11.13, using settings 'mis.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[12/Jun/2018 10:22:10] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:12] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:12] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:13] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:13] "GET / HTTP/1.1" 302 0
[12/Jun/2018 10:22:14] "GET / HTTP/1.1" 302 0

Django version 1.10.6

[root@localhost Django-ERP]# python2.7 manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).
November 02, 2018 - 00:04:20
Django version 1.10.6, using settings 'mis.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[02/Nov/2018 00:04:24] "GET / HTTP/1.1" 302 0
[02/Nov/2018 00:04:25] "GET / HTTP/1.1" 302 0
[02/Nov/2018 00:04:26] "GET / HTTP/1.1" 302 0
[02/Nov/2018 00:04:26] "GET / HTTP/1.1" 302 0
[02/Nov/2018 00:04:27] "GET / HTTP/1.1" 302 0

大佬,搭建好了还是无法访问

HTTP 302 是重定向问题。
可能是后端逻辑代码将网址A重定向到网址B了;或者是filter出了问题吧~