Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/django/django
/ get_email_field_name
Method
get_email_field_name
django/contrib/auth/base_user.py:152–156 ·
view source on GitHub ↗
(cls)
Source
from the content-addressed store, hash-verified
150
151
@classmethod
152
def
get_email_field_name(cls):
153
try
:
154
return
cls.EMAIL_FIELD
155
except
AttributeError:
156
return
"email"
157
158
@classmethod
159
def
normalize_username(cls, username):
Callers
6
get_users
Method · 0.80
save
Method · 0.80
_make_hash_value
Method · 0.80
test_default_email
Method · 0.80
test_custom_email
Method · 0.80
test_token_with_different_email
Method · 0.80
Calls
no outgoing calls
Tested by
3
test_default_email
Method · 0.64
test_custom_email
Method · 0.64
test_token_with_different_email
Method · 0.64