<commit_before>import {{ project_name }}.utils
from django.utils.translation import ugettext_lazy


SESSION_CACHE_ALIAS = "sessions"
SESSION_ENGINE = "django.contrib.sessions.backends.cache"

LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
LOGIN_URL = '/login/'

CANONICAL_SITE_URL = 'www.ltplabs.com'

AUTH_PROFILE_MODULE = 'profiles.profile'
ABSOLUTE_URL_OVERRIDES = {
    'auth.user': lambda u: '/user/%i/' % u.profile.pk,
}


# Sessions
POSTGRES_HOSTNAME = 'localhost'
REDIS_HOSTNAME = 'localhost'

MEMCACHED_ENDPOINTS = [
    '127.0.0.1:11211',
]<commit_msg>Update settings.py<commit_after>import {{ project_name }}.utils
from django.utils.translation import ugettext_lazy


SESSION_CACHE_ALIAS = "sessions"
SESSION_ENGINE = "django.contrib.sessions.backends.cache"

LOGIN_REDIRECT_URL = '/'
LOGOUT_REDIRECT_URL = '/'
LOGIN_URL = '/login/'

CANONICAL_SITE_URL = 'www.{{ project_name }}.com'

AUTH_PROFILE_MODULE = 'profiles.profile'
ABSOLUTE_URL_OVERRIDES = {
    'auth.user': lambda u: '/user/%i/' % u.profile.pk,
}


# Sessions
POSTGRES_HOSTNAME = 'localhost'
REDIS_HOSTNAME = 'localhost'

MEMCACHED_ENDPOINTS = [
    '127.0.0.1:11211',
]
{'fraction_non_alphanumeric': 0.13850174216027875, 'fraction_numerical': 0.01916376306620209, 'mean_word_length': 5.210810810810811, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '3302856', 'n_tokens_mistral': 467, 'n_tokens_neox': 450, 'n_words': 67}