django-sql-explorer icon indicating copy to clipboard operation
django-sql-explorer copied to clipboard

Custom User Model with no email field

Open abedimhosein opened this issue 1 year ago • 1 comments

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.

abedimhosein avatar Feb 20 '24 10:02 abedimhosein

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.

marksweb avatar Feb 20 '24 13:02 marksweb

Addressed via https://github.com/chrisclark/django-sql-explorer/pull/606

chrisclark avatar Apr 22 '24 13:04 chrisclark