Mercurial > public > sg101
comparison gpp/settings/production.py @ 553:abc4be5a82e5
Prepare to use my forked version of elsewhere that has staticfiles support.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 26 Jan 2012 20:24:15 -0600 |
parents | 3fd369e1197f |
children | c2ba9c3395da |
comparison
equal
deleted
inserted
replaced
552:9e42e6618168 | 553:abc4be5a82e5 |
---|---|
12 'NAME': 'gremmies_portal', | 12 'NAME': 'gremmies_portal', |
13 'USER': SECRETS['DB_USER'], | 13 'USER': SECRETS['DB_USER'], |
14 'PASSWORD': SECRETS['DB_PASSWORD'], | 14 'PASSWORD': SECRETS['DB_PASSWORD'], |
15 }, | 15 }, |
16 } | 16 } |
17 | |
18 # Path to elsewhere application static images | |
19 STATICFILES_DIRS.append(('elsewhere', | |
20 '/home/var/django-sites/virtualenvs/sg101/src/django-elsewhere/elsewhere/img')) | |
21 | 17 |
22 STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve')) | 18 STATIC_ROOT = os.path.abspath(os.path.join(PROJECT_PATH, '..', 'static_serve')) |
23 | 19 |
24 # Used cached template loader | 20 # Used cached template loader |
25 TEMPLATE_LOADERS = [ | 21 TEMPLATE_LOADERS = [ |