summaryrefslogtreecommitdiff
path: root/settings_mobile.py
blob: a617526ffea9c6e19f52e2b498316bf604bc5677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from settings import *
from os.path import dirname, abspath

PROJ_ROOT = abspath(dirname(__file__))+'/'
DEBUG = False
TEMPLATE_DEBUG = DEBUG
MIDDLEWARE_CLASSES = (
    'django.middleware.cache.UpdateCacheMiddleware',
    'django.middleware.gzip.GZipMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.doc.XViewMiddleware',
    'pagination.middleware.PaginationMiddleware',
    'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware',
    #'django.middleware.cache.FetchFromCacheMiddleware',

)

TEMPLATE_DIRS = (
    PROJ_ROOT+'templates/mobile',
)