Django在应用列表中添加新的应用时有时会出错
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'news_web',
'DjangoUeditor',
'mdeditor',
'django_markdown',
'markdownx',
#'fluent_contents',
]
启动项目时报错为
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7efe941f08c8>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/Django-2.1-py3.6.egg/django/utils/autoreload.py", line 225, in wrapper
fn(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/Django-2.1-py3.6.egg/django/core/management/commands/runserver.py"