移动开发doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. 云博小周宇2024年5月5日2023年8月20日1 Min Read 在settings.py中增加 INSTALLED_APPS = [ ... ‘django.contrib.sites‘, ] 问题就解决了。什么原因。——不知道。。