小编swa*_*esh的帖子

django.core.exceptions.ImproperlyConfigured:AUTH_USER_MODEL指的是尚未安装的模型'auth.User'

迁移我的django和userena包后,如下所示

Django 1.8到Django 1.9.7

django-userena 1.4.1到django-userena == 2.0.1

运行项目后,我遇到了这个错误

Unhandled exception in thread started by <function wrapper at 0xb689641c>
Traceback (most recent call last):
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 116, in inner_run
self.check(display_num_errors=True)
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 426, in check
include_deployment_checks=include_deployment_checks,
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 75, in run_checks
new_errors = check(app_configs=app_configs)
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 23, in check_resolver
for pattern in resolver.url_patterns:
File "/home/Documents/environments/venv/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in __get__
res …
Run Code Online (Sandbox Code Playgroud)

django django-guardian django-userena

15
推荐指数
3
解决办法
1万
查看次数

如何更改Django错误报告电子邮件的主题?

我注意到要更改django错误报告电子邮件的主题,是否可以更改主题?我们可以修改Django错误报告电子邮件的主题吗?

python django

7
推荐指数
1
解决办法
1245
查看次数

标签 统计

django ×2

django-guardian ×1

django-userena ×1

python ×1