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

import os
import sys
import re

from celery.schedules import crontab

from configurations import Configuration, importer, values
importer.install(check_options=True)

from django.utils.translation import ugettext_lazy as _


def rec(x):
    return re.compile(x, re.I | re.U)


# Django settings for froide project.


class Base(Configuration):
    DEBUG = values.BooleanValue(True)

    DATABASES = values.DatabaseURLValue('spatialite:///dev.db')
    CONN_MAX_AGE = None

    INSTALLED_APPS = values.ListValue([
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'django.contrib.admin',
        'django_comments',
        'django.contrib.flatpages',
        'django.contrib.sitemaps',
        'django.contrib.humanize',
        'django.contrib.gis',

        # external
        'haystack',
        'taggit',
        'overextends',
        'storages',
        'treebeard',
<commit_msg>Add default path for libspatialite<commit_after># -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals

import os
import sys
import re

from celery.schedules import crontab

from configurations import Configuration, importer, values
importer.install(check_options=True)

from django.utils.translation import ugettext_lazy as _


def rec(x):
    return re.compile(x, re.I | re.U)


# Django settings for froide project.


class Base(Configuration):
    DEBUG = values.BooleanValue(True)

    DATABASES = values.DatabaseURLValue('spatialite:///dev.db')
    SPATIALITE_LIBRARY_PATH = '/usr/local/lib/mod_spatialite.dylib'
    CONN_MAX_AGE = None

    INSTALLED_APPS = values.ListValue([
        'django.contrib.auth',
        'django.contrib.contenttypes',
        'django.contrib.sessions',
        'django.contrib.sites',
        'django.contrib.messages',
        'django.contrib.staticfiles',
        'django.contrib.admin',
        'django_comments',
        'django.contrib.flatpages',
        'django.contrib.sitemaps',
        'django.contrib.humanize',
        'django.contrib.gis',

        # external
        'haystack',
        'taggit',
        'overextends',
        'storages',
        'treebeard',

{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.0008385744234800838, 'mean_word_length': 2.892332789559543, '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': '6673979', 'n_tokens_mistral': 750, 'n_tokens_neox': 716, 'n_words': 144}