<commit_before># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

# Standard Library
import os
from os.path import dirname, join

# Third Party Stuff
from django.conf.global_settings import *  # noqa
from django.utils.translation import ugettext_lazy as _

# Build paths inside the project like this: os.path.join(ROOT_DIR, ...)
ROOT_DIR = dirname(dirname(__file__))
APP_DIR = join(ROOT_DIR, 'junction')

SITE_ID = 1

ADMINS = (
    ('Bibhas', '<EMAIL>'),
    ('Kracekumar', '<EMAIL>'),
    ('<NAME>', '<EMAIL>'),
)

# Absolute Url of frontend hosted site. Used to render the urls in templattes,
# static and media files appropriately. e.g 'https://in.pycon.org/junction'
SITE_URL = os.environ.get('SITE_URL', '').rstrip('/')

# General project information
# These are available in the template as SITE_INFO.<title>
SITE_VARIABLES = {
    'site_name': os.environ.get('SITE_NAME', 'Junction'),
    'site_description': 'Junction is a software to manage proposals, reviews, schedule, feedback during conference.',
    'google_analytics_id': os.environ.get('GOOGLE_ANALYTICS_ID', None),
    'site_url': SITE_URL,
    'footer': 'Copyright &copy; 2015. Python Software Society of India.',
    'facebook_app_id': os.environ.get('FACEBOOK_APP_ID', None),  # Enables Facebook sharing of proposals
}

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'simple_history.middleware.HistoryRequestMiddleware',
)
<commit_msg>Auto update year in footer<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

# Standard Library
import datetime
import os
from os.path import dirname, join

# Third Party Stuff
from django.conf.global_settings import *  # noqa
from django.utils.translation import ugettext_lazy as _

# Build paths inside the project like this: os.path.join(ROOT_DIR, ...)
ROOT_DIR = dirname(dirname(__file__))
APP_DIR = join(ROOT_DIR, 'junction')

SITE_ID = 1

ADMINS = (
    ('Bibhas', '<EMAIL>'),
    ('Kracekumar', '<EMAIL>'),
    ('<NAME>', '<EMAIL>'),
)

# Absolute Url of frontend hosted site. Used to render the urls in templattes,
# static and media files appropriately. e.g 'https://in.pycon.org/junction'
SITE_URL = os.environ.get('SITE_URL', '').rstrip('/')

# General project information
# These are available in the template as SITE_INFO.<title>
dt = datetime.datetime.now()
SITE_VARIABLES = {
    'site_name': os.environ.get('SITE_NAME', 'Junction'),
    'site_description': 'Junction is a software to manage proposals, reviews, schedule, feedback during conference.',
    'google_analytics_id': os.environ.get('GOOGLE_ANALYTICS_ID', None),
    'site_url': SITE_URL,
    'footer': 'Copyright &copy; {}. Python Software Society of India.'.format(dt.year),
    'facebook_app_id': os.environ.get('FACEBOOK_APP_ID', None),  # Enables Facebook sharing of proposals
}

MIDDLEWARE_CLASSES = (
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'simple_history.middleware.HistoryRequestMiddleware',
)

{'fraction_non_alphanumeric': 0.1272775991425509, 'fraction_numerical': 0.0021436227224008574, 'mean_word_length': 5.040453074433657, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6770565', 'n_tokens_mistral': 1189, 'n_tokens_neox': 1179, 'n_words': 273}