0

我读过一个可以使用allauth创建注册表单,但它是否也支持Django文档中描述的UserProfile模型?allauth是否支持UserProfile模型?

https://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users

+0

不熟悉allauth,但如果你发现它太受限制,你可能也有兴趣在https://开头的github的.com/pinax/Django的用户帐户。它一直在为我工作,它绝对与UserProfile模型兼容。 – acjay

回答

1

你可以自由地提出了一个自定义的注册表格,问他最喜欢的颜色的用户,并存储在一个项目的具体用户配置请你。 allauth不会妨碍 这个标准的Django行为。

看看这里了解如何设置自定义注册表单:

How to customize user profile when using django-allauth