<commit_before># This is your project's main settings file that can be committed to your
# repo. If you need to override a setting locally, use settings_local.py

from funfactory.settings_base import *

# Bundles is a dictionary of two dictionaries, css and js, which list css files
# and js files that can be bundled together by the minify app.
MINIFY_BUNDLES = {
    'css': {
        'app': (
            'css/app/style.css',
            'css/app/main.css',
        ),
        'project': (
            'css/project/pontoon.css',
        ),
    },
    'js': {
        'app': (
            'js/app/script.js',
            'js/app/main.js',
        ),
        'project': (
            'js/project/pontoon.js',
        ),
    }
}

# Defines the views served for root URLs.
ROOT_URLCONF = 'apps.urls'

INSTALLED_APPS = list(INSTALLED_APPS) + [
    # Application base, containing global templates.
    'apps.base',
    'apps.pontoon',
    'django.contrib.admin', 
    'django_browserid',
]

# Add BrowserID as authentication backend
AUTHENTICATION_BACKENDS = (
    'django_browserid.auth.BrowserIDBackend',
    'django.contrib.auth.backends.ModelBackend',
)

TEMPLATE_CONTEXT_PROCESSORS += (
    'django_browserid.context_processors.browserid_form',
)

# Required for BrowserID. Very important security feature
SITE_URL = 'http://localhost:8000'

LOGIN_REDIRECT_URL = '/'

# Instruct session-csrf to always produce tokens for anonymous users
ANON_ALWAYS = True

# Because Jinja2 is the default template loader, add any non-Jinja templated
# apps here:
JINGO_EXCLUDE_APPS = [
    'admin',
]

# Tells the extract script what files to look for L10n in and what function
# handles the extraction. The Tower library expects this.

# # Use this if you have localizable HTML files:
# DOMAIN_METHODS['lhtml'] = [
#    ('**/templates/**.lhtml',
#        'tower.management.commands.extract.extract_tower_template'),<commit_msg>Fix template error on Django admin logout<commit_after># This is your project's main settings file that can be committed to your
# repo. If you need to override a setting locally, use settings_local.py

from funfactory.settings_base import *

# Bundles is a dictionary of two dictionaries, css and js, which list css files
# and js files that can be bundled together by the minify app.
MINIFY_BUNDLES = {
    'css': {
        'app': (
            'css/app/style.css',
            'css/app/main.css',
        ),
        'project': (
            'css/project/pontoon.css',
        ),
    },
    'js': {
        'app': (
            'js/app/script.js',
            'js/app/main.js',
        ),
        'project': (
            'js/project/pontoon.js',
        ),
    }
}

# Defines the views served for root URLs.
ROOT_URLCONF = 'apps.urls'

INSTALLED_APPS = list(INSTALLED_APPS) + [
    # Application base, containing global templates.
    'apps.base',
    'apps.pontoon',
    'django.contrib.admin', 
    'django_browserid',
]

# Add BrowserID as authentication backend
AUTHENTICATION_BACKENDS = (
    'django_browserid.auth.BrowserIDBackend',
    'django.contrib.auth.backends.ModelBackend',
)

TEMPLATE_CONTEXT_PROCESSORS += (
    'django_browserid.context_processors.browserid_form',
)

# Required for BrowserID. Very important security feature
SITE_URL = 'http://localhost:8000'

LOGIN_REDIRECT_URL = '/'

# Instruct session-csrf to always produce tokens for anonymous users
ANON_ALWAYS = True

# Because Jinja2 is the default template loader, add any non-Jinja templated
# apps here:
JINGO_EXCLUDE_APPS = [
    'admin',
    'registration',
]

# Tells the extract script what files to look for L10n in and what function
# handles the extraction. The Tower library expects this.

# # Use this if you have localizable HTML files:
# DOMAIN_METHODS['lhtml'] = [
#    ('**/templates/**.lhtml',
#        'tower.management.commands.extract.extract_tower_template'),
{'fraction_non_alphanumeric': 0.10815694372741352, 'fraction_numerical': 0.0036138358286009293, 'mean_word_length': 2.978439425051335, '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': '2602457', 'n_tokens_mistral': 1229, 'n_tokens_neox': 1207, 'n_words': 338}