<s> from django . conf import settings <EOL> import django <EOL> __all__ = [ '<STR_LIT>' , '<STR_LIT>' ] <EOL> AUTH_USER_MODEL = getattr ( settings , '<STR_LIT>' , '<STR_LIT>' ) <EOL> if django . VERSION >= ( <NUM_LIT:1> , <NUM_LIT:5> ) : <EOL> from django . contrib . auth import get_user_model <EOL> User = get_user_model ( ) <EOL> username_field = User . USERNAME_FIELD <EOL> else : <EOL> from django . contrib . auth . models import User <EOL> username_field = '<STR_LIT:username>' </s>
