<commit_before>from django.conf import settings

## COnfiguration options for Account Authentication
USERNAME = "username"
EMAIL = "email"
BOTH = "both"

# The user is required to hand over an e-mail address when signing up
EMAIL_REQUIRED = getattr(settings, "ACCOUNT_EMAIL_REQUIRED", False)

# After signing up, keep the user account inactive until the email
# address is verified
EMAIL_VERIFICATION = getattr(settings, "ACCOUNT_EMAIL_VERIFICATION", False)

# Login by email address, username or both Default is by username
ACCOUNT_AUTHENTICATION = getattr(settings, "ACCOUNT_AUTHENTICATION", USERNAME)

# Enforce uniqueness of e-mail addresses<commit_msg>Change setting name from both to username_email<commit_after>from django.conf import settings

## COnfiguration options for Account Authentication
USERNAME = "username"
EMAIL = "email"
BOTH = "username_email"

# The user is required to hand over an e-mail address when signing up
EMAIL_REQUIRED = getattr(settings, "ACCOUNT_EMAIL_REQUIRED", False)

# After signing up, keep the user account inactive until the email
# address is verified
EMAIL_VERIFICATION = getattr(settings, "ACCOUNT_EMAIL_VERIFICATION", False)

# Login by email address, username or both Default is by username
ACCOUNT_AUTHENTICATION = getattr(settings, "ACCOUNT_AUTHENTICATION", USERNAME)

# Enforce uniqueness of e-mail addresses
{'fraction_non_alphanumeric': 0.0662739322533137, 'fraction_numerical': 0.0, 'mean_word_length': 6.345945945945946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6791346', 'n_tokens_mistral': 389, 'n_tokens_neox': 386, 'n_words': 145}