mise-en-production
[auf_framonde.git] / project / settings / 10-base.py
CommitLineData
6837e829
PH
1import os
2
3SITE_ID = '1'
4
5PROJECT_ROOT = os.path.dirname(__file__)
6ROOT = os.path.dirname(PROJECT_ROOT)
7
8MEDIA_ROOT = os.path.join(ROOT, 'media')
9MEDIA_URL = '/media/'
10
11STATIC_ROOT = os.path.join(ROOT, 'sitestatic')
12STATIC_URL = '/static/'
13
14#STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.CachedStaticFilesStorage'
15
16INSTALLED_APPS += (
17 'django.contrib.admin',
18 'django.contrib.auth',
19 'django.contrib.contenttypes',
20 'django.contrib.sessions',
21 'django.contrib.sites',
22 'django.contrib.messages',
23 'django.contrib.staticfiles',
24 'django.contrib.sitemaps',
25
26 'pagination',
27 'tagging',
28)
29
30TEMPLATE_DIRS = (
31 os.path.join(PROJECT_ROOT, "templates/"),
32)
33
34