Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom User Model with no email field #592

Closed
abedimhosein opened this issue Feb 20, 2024 · 2 comments
Closed

Custom User Model with no email field #592

abedimhosein opened this issue Feb 20, 2024 · 2 comments

Comments

@abedimhosein
Copy link
Contributor

If settings.AUTH_USER_MODEL is a custom user model that does not have an email field, the created_by_user_email function throws an AttributeError exception.

@marksweb
Copy link
Collaborator

This has been raised before in #551 and at the time I felt like there were further problems if a user doesn't have an email address.

@chrisclark
Copy link
Collaborator

Addressed via #606

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants