Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo / webproject / settings / default / apps.py @ bdff90d3

History | View | Annotate | Download (1.1 kB)

1 1277fb19 Vangelis Koukis
# -*- coding: utf-8 -*-
2 2ce0636e Kostas Papadimitriou
3 5505e60c Kostas Papadimitriou
# Core Django project settings
4 1277fb19 Vangelis Koukis
##################################
5 1277fb19 Vangelis Koukis
6 1b9af82c Kostas Papadimitriou
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
7 1277fb19 Vangelis Koukis
8 1277fb19 Vangelis Koukis
# List of callables that know how to import templates from various sources.
9 1277fb19 Vangelis Koukis
TEMPLATE_LOADERS = (
10 1277fb19 Vangelis Koukis
    'django.template.loaders.filesystem.Loader',
11 1277fb19 Vangelis Koukis
    'django.template.loaders.app_directories.Loader',
12 1277fb19 Vangelis Koukis
)
13 1277fb19 Vangelis Koukis
14 5505e60c Kostas Papadimitriou
# This is a django project setting, do not change this unless you know
15 5505e60c Kostas Papadimitriou
# what you're doing
16 2ce0636e Kostas Papadimitriou
ROOT_URLCONF = 'synnefo.webproject.urls'
17 1277fb19 Vangelis Koukis
18 5505e60c Kostas Papadimitriou
# Additional template dirs.
19 1277fb19 Vangelis Koukis
TEMPLATE_DIRS = (
20 5505e60c Kostas Papadimitriou
    '/usr/share/synnefo/templates/'
21 1277fb19 Vangelis Koukis
)
22 1277fb19 Vangelis Koukis
23 1277fb19 Vangelis Koukis
LANGUAGES = (
24 1277fb19 Vangelis Koukis
  ('en', 'English'),
25 1277fb19 Vangelis Koukis
)
26 1277fb19 Vangelis Koukis
27 1277fb19 Vangelis Koukis
# Local time zone for this installation. Choices can be found here:
28 1277fb19 Vangelis Koukis
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
29 1277fb19 Vangelis Koukis
# although not all choices may be available on all operating systems.
30 1277fb19 Vangelis Koukis
# On Unix systems, a value of None will cause Django to use the same
31 1277fb19 Vangelis Koukis
# timezone as the operating system.
32 1277fb19 Vangelis Koukis
# If running in a Windows environment this must be set to the same as your
33 1277fb19 Vangelis Koukis
# system time zone.
34 1277fb19 Vangelis Koukis
TIME_ZONE = 'UTC'   # Warning: The API depends on the TIME_ZONE being UTC