add user display

This commit is contained in:
Luke Hatcher 2012-07-13 13:59:40 -04:00
parent 52dd22f0da
commit 11ac37efed

View file

@ -189,6 +189,8 @@ ACCOUNT_EMAIL_VERIFICATION = False
ACCOUNT_EMAIL_AUTHENTICATION = False ACCOUNT_EMAIL_AUTHENTICATION = False
ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False ACCOUNT_UNIQUE_EMAIL = EMAIL_CONFIRMATION_UNIQUE_EMAIL = False
ACCOUNT_USER_DISPLAY = lambda user: user.email
# AUTHENTICATION_BACKENDS = [ # AUTHENTICATION_BACKENDS = [
# "pinax.apps.account.auth_backends.AuthenticationBackend", # "pinax.apps.account.auth_backends.AuthenticationBackend",
# ] # ]