<commit_before>from .base import *
import logging

DEBUG = True

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', u'development.ruralindiaonline.org']

INSTALLED_APPS += (
    'nplusone.ext.django',
)

MIDDLEWARE_CLASSES += (
    'nplusone.ext.django.NPlusOneMiddleware',
)

NPLUSONE_LOGGER = logging.getLogger('nplusone')
NPLUSONE_LOG_LEVEL = logging.WARN

LOGGING = {
    'version': 1,
    'handlers': {
        'console': {
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        'nplusone': {
            'handlers': ['console'],
            'level': 'WARN',
        },
    },
}


try:
    from .local import *
except ImportError:
    pass
<commit_msg>Jayakumar/Sankar #149 Turn-on modular-article feature for local development<commit_after>from .base import *
import logging

DEBUG = True

MODULAR_ARTICLE = True

EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
ALLOWED_HOSTS = ['127.0.0.1', 'localhost', u'development.ruralindiaonline.org']

INSTALLED_APPS += (
    'nplusone.ext.django',
)

MIDDLEWARE_CLASSES += (
    'nplusone.ext.django.NPlusOneMiddleware',
)

NPLUSONE_LOGGER = logging.getLogger('nplusone')
NPLUSONE_LOG_LEVEL = logging.WARN

LOGGING = {
    'version': 1,
    'handlers': {
        'console': {
            'class': 'logging.StreamHandler',
        },
    },
    'loggers': {
        'nplusone': {
            'handlers': ['console'],
            'level': 'WARN',
        },
    },
}


try:
    from .local import *
except ImportError:
    pass

{'fraction_non_alphanumeric': 0.14601769911504425, 'fraction_numerical': 0.010745891276864728, 'mean_word_length': 2.87041564792176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7180191', 'n_tokens_mistral': 578, 'n_tokens_neox': 566, 'n_words': 91}