如何将登录页面的Allauth模板编辑/修复到Django 1.8?
我一直在读关于导游的书,但我找不到任何解决这个问题的人。
这是我的settings.py
"""
Django settings for colectr project.
Generated by 'django-admin startproject' using Django 1.8.3.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings
我遵循使用django-allauth的说明,如所示。我不感兴趣使用社会认证-只是一个简单的电子邮件和密码注册流程。由于某种原因,当我去/accounts/login/时,我得到了错误
TemplateSyntaxError at /accounts/login/
'socialaccount' is not a registered tag library. Must be one of:
account
account_tags
...
在我的settings.py里
TEMPLATES = [
{
'BACKEND': &
我已经用docker-compose exec web pipenv install django-allauth安装了django-allauth,但是当我使用docker-compose exec web python manage.py makemigrations时,我收到了一个错误的from django.allauth.account.adapter import DefaultAccountAdapter ModuleNotFoundError: No module named 'django.allauth'。感谢您的帮助:)
我正在使用django-allauth进行我的django认证,在确认我收到的电子邮件时
TypeError at /accounts/confirmemail/MQ:1mk57U:HtWDA8B5NClWhK2L6nDxJgwlNRGItW_4FyhDqcbcfow/和它在抱怨argument of type 'bool' is not iterable
当我搜索答案时,答案是使用django-rest-allauth的原因,这里我没有使用任何rest并面临这个问题。
一些关于我的settings.py文件的信息
# all auth config
AUTHENTICATIO