apps.py 1.05 KB
Newer Older
1
# -*- coding: utf-8 -*-
2

3
# Core Django project settings
4
5
##################################

6
SESSION_ENGINE = "django.contrib.sessions.backends.cached_db"
7
8
9
10
11
12
13

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
)

14
15
# This is a django project setting, do not change this unless you know
# what you're doing
16
ROOT_URLCONF = 'synnefo.webproject.urls'
17

18
# Additional template dirs.
19
TEMPLATE_DIRS = (
20
    '/etc/synnefo/templates/',
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
)

LANGUAGES = (
  ('en', 'English'),
)

# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# On Unix systems, a value of None will cause Django to use the same
# timezone as the operating system.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'UTC'   # Warning: The API depends on the TIME_ZONE being UTC