Skip to content

Building a MWE with email login and custom signup form: why is a custom adapter required? #4175

Answered by pennersr
PieterjanRobbe asked this question in Q&A
Discussion options

You must be logged in to vote

Your user model does have a username field, yet, by configuring this you are informing allauth there is no such field:

ACCOUNT_USER_MODEL_USERNAME_FIELD = None

As a result, allauth won't make any attempt to populate it with a unique value.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PieterjanRobbe
Comment options

Answer selected by PieterjanRobbe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants