Django server stops immediatly after login into admin page

后端 未结 12 1859
迷失自我
迷失自我 2021-01-02 11:16

Trying to login to django admin page immediately after clicking login button django server stops

New to Django trying to create a project in a virtual environment

相关标签:
12条回答
  • 2021-01-02 11:20

    Try downgrading Django to 2.2.11. It worked for me

    0 讨论(0)
  • 2021-01-02 11:24

    I have changed Django version from 3.0 to 2.2.8 its working fine now, this may be an issue in Django 3.0.

    0 讨论(0)
  • 2021-01-02 11:26

    I am facing same issue, I think this may be issue with django 3.x.x series, once I run python manage.py runserver and then go to the admin URL server stops

    0 讨论(0)
  • 2021-01-02 11:30

    Apparently there is a bug using django 3.0 and python versions < 3.7.5. To resolve this either use lower versions of django or update your python to higher versions i.e >= 4.7.5

    0 讨论(0)
  • 2021-01-02 11:30

    Upgrade your Django version to latest one django==3.1.2. It was giving problem in version 3.0 with Python 3.7 now its working fine.

    0 讨论(0)
  • 2021-01-02 11:34

    To solve this problem Use Django 2.2

    In the terminal type.

    pip install django==2.2
    
    0 讨论(0)
提交回复
热议问题