Revision 94459980 snf-astakos-app/astakos/im/settings.py
b/snf-astakos-app/astakos/im/settings.py | ||
---|---|---|
2 | 2 |
from os.path import abspath, dirname, join |
3 | 3 |
from urlparse import urlparse |
4 | 4 |
|
5 |
PROJECT_PATH = getattr(settings, 'PROJECT_PATH', dirname(dirname(abspath(__file__)))) |
|
6 |
|
|
7 | 5 |
# Set the expiration time of newly created auth tokens |
8 | 6 |
# to be this many hours after their creation time. |
9 | 7 |
AUTH_TOKEN_DURATION = getattr(settings, 'ASTAKOS_AUTH_TOKEN_DURATION', 30 * 24) |
... | ... | |
39 | 37 |
COOKIE_DOMAIN = getattr(settings, 'ASTAKOS_COOKIE_DOMAIN', None) |
40 | 38 |
COOKIE_SECURE = getattr(settings, 'ASTAKOS_COOKIE_SECURE', True) |
41 | 39 |
|
42 |
IM_STATIC_URL = getattr(settings, 'ASTAKOS_IM_STATIC_URL', '/im/static/im/')
|
|
40 |
IM_STATIC_URL = getattr(settings, 'ASTAKOS_IM_STATIC_URL', '/static/im/') |
|
43 | 41 |
|
44 | 42 |
# If set to False and invitations not enabled newly created user will be automatically accepted |
45 | 43 |
MODERATION_ENABLED = getattr(settings, 'ASTAKOS_MODERATION_ENABLED', True) |
Also available in: Unified diff