django-sql-explorer
django-sql-explorer copied to clipboard
Checking if the settings.AUTH_USER_MODEL has email field or not!
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.
It'd be good to see some test coverage of this one.
Closing in favor of: https://github.com/chrisclark/django-sql-explorer/pull/606