Django - ImproperlyConfigured: Module “django.contrib.auth.middleware”

后端 未结 13 738
我寻月下人不归
我寻月下人不归 2020-12-30 19:25

I\'m running a virtualenv to try to learn Django, but for whatever reason after installing Django and when I try to access the default Django start page, I get the following

13条回答
  •  时光取名叫无心
    2020-12-30 19:43

    Just run it in Python 3 instead:

    python3 manage.py runserver
    

    If that would work, consider also applying some app migrations via: python3 manage.py migrate.

提交回复
热议问题