mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-11-10 08:47:30 +00:00
61 lines
1.2 KiB
Python
61 lines
1.2 KiB
Python
# coding=utf-8
|
|
|
|
"""Project level settings.
|
|
|
|
Adjust these values as needed but don't commit passwords etc. to any public
|
|
repository!
|
|
"""
|
|
|
|
import os # noqa
|
|
from django.utils.translation import ugettext_lazy as _
|
|
from .contrib import * # noqa
|
|
|
|
# Project apps
|
|
INSTALLED_APPS += (
|
|
# Add any additional project apps here
|
|
"charts_app",
|
|
"wfs_harvest",
|
|
|
|
)
|
|
|
|
THESAURI = []
|
|
|
|
# Due to profile page does not available,
|
|
# this will redirect to home page after login
|
|
LOGIN_REDIRECT_URL = '/'
|
|
|
|
# How many versions to list in each project box
|
|
PROJECT_VERSION_LIST_SIZE = 10
|
|
|
|
# Set debug to false for production
|
|
DEBUG = TEMPLATE_DEBUG = True
|
|
|
|
SOUTH_TESTS_MIGRATE = False
|
|
|
|
# Set languages which want to be translated
|
|
LANGUAGES = (
|
|
('en', _('English')),
|
|
('af', _('Afrikaans')),
|
|
('id', _('Indonesian')),
|
|
('ko', _('Korean')),
|
|
)
|
|
|
|
# Set storage path for the translation files
|
|
LOCALE_PATHS = (absolute_path('locale'),)
|
|
|
|
MIDDLEWARE_CLASSES = (
|
|
# Add any additional middleware classes here
|
|
) + MIDDLEWARE_CLASSES
|
|
|
|
DATABASES = {}
|
|
|
|
from .celery_setting import * # noqa
|
|
|
|
# default login url
|
|
LOGIN_URL = '/account/login/'
|
|
|
|
# maximum clip size in bytes
|
|
MAXIMUM_CLIP_SIZE = '40000000'
|
|
|
|
|