在settings.py中增加
INSTALLED_APPS = [ ... ‘django.contrib.sites‘, ]
问题就解决了。什么原因。——不知道。。
doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
2023-12-30 10:08:52
在settings.py中增加
INSTALLED_APPS = [ ... ‘django.contrib.sites‘, ]
问题就解决了。什么原因。——不知道。。
doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.