我有一个集成了allauth的Django(1.8)项目。现在我想有一个自定义的用户模型,而不是auth.user(我知道它是可配置的,但我需要更多的灵活性)。当我按照Django的authtools安装指令一个步骤是添加下列行到url图案,见 https://django-authtools.readthedocs.org/en/latest/intro.html#installation在Django项目中结合django-authtools和django-allauth
url(r'^accounts/', include('authtools.urls')),
然而这个URL模式已被使用由allauth应用(在管线其说明,看到 http://django-allauth.readthedocs.org/en/latest/installation.html ):
url(r'^accounts/', include('allauth.urls')),
所以我应该怎么处理?
听起来不错。谢谢! – musicformellons