Django model “doesn't declare an explicit app_label”

后端 未结 28 1887
無奈伤痛
無奈伤痛 2020-11-27 15:38

I\'m at wit\'s end. After a dozen hours of troubleshooting, probably more, I thought I was finally in business, but then I got:

Model class django.contrib.co         


        
28条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-27 16:08

    In my case I was getting this error when trying to run python manage.py runserver when not connected to my project's virtual environment.

提交回复
热议问题