Statistics
| Branch: | Tag: | Revision:

root / settings.d / 00-apps.conf @ c130b56e

History | View | Annotate | Download (2.1 kB)

1
# -*- coding: utf-8 -*-
2
#
3
# Core Django settings
4
##################################
5

    
6
INSTALLED_APPS = (
7
    'django.contrib.contenttypes',
8
    'django.contrib.sessions',
9
    'django.contrib.sites',
10
    'django.contrib.messages',
11
    'django.contrib.admin',
12
    'synnefo.aai',
13
    'synnefo.admin',
14
    'synnefo.api',
15
    'synnefo.ui',
16
    'synnefo.db',
17
    'synnefo.logic',
18
    'synnefo.invitations',
19
    'synnefo.helpdesk',
20
    'south'
21
)
22

    
23
SESSION_ENGINE = "django.contrib.sessions.backends.cache"
24

    
25
# List of callables that know how to import templates from various sources.
26
TEMPLATE_LOADERS = (
27
    'django.template.loaders.filesystem.Loader',
28
    'django.template.loaders.app_directories.Loader',
29
#     'django.template.loaders.eggs.Loader',
30
)
31

    
32
TEMPLATE_CONTEXT_PROCESSORS = (
33
    'django.core.context_processors.request',
34
    'django.core.context_processors.i18n',
35
    'django.contrib.auth.context_processors.auth',
36
    'django.core.context_processors.media'
37
)
38

    
39
MIDDLEWARE_CLASSES = (
40
    'django.contrib.sessions.middleware.SessionMiddleware',
41
    'synnefo.aai.middleware.SynnefoAuthMiddleware',
42
    'synnefo.api.middleware.ApiAuthMiddleware',
43
    'synnefo.helpdesk.middleware.HelpdeskMiddleware',
44
    'django.middleware.locale.LocaleMiddleware',
45
    'django.middleware.common.CommonMiddleware',
46
    'django.contrib.messages.middleware.MessageMiddleware'
47
)
48

    
49
ROOT_URLCONF = 'synnefo.urls'
50

    
51
TEMPLATE_DIRS = (
52
    # Put strings here, like "/home/html/django_templates"
53
    # or "C:/www/django/templates".
54
    # Always use forward slashes, even on Windows.
55
    # Don't forget to use absolute paths, not relative paths.
56
)
57

    
58
LANGUAGES = (
59
  #('el', u'Ελληνικά'),
60
  ('en', 'English'),
61
)
62

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