summaryrefslogtreecommitdiff
path: root/settings_mobile.py
diff options
context:
space:
mode:
Diffstat (limited to 'settings_mobile.py')
-rw-r--r--settings_mobile.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/settings_mobile.py b/settings_mobile.py
new file mode 100644
index 0000000..6aa3a6b
--- /dev/null
+++ b/settings_mobile.py
@@ -0,0 +1,22 @@
+from settings import *
+from os.path import dirname, abspath
+
+PROJ_ROOT = abspath(dirname(__file__))+'/'
+DEBUG = True
+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',
+) \ No newline at end of file