Revision c08b1f79 snf-pithos-app/pithos/api/settings.py

b/snf-pithos-app/pithos/api/settings.py
1 1
#coding=utf8
2 2
from django.conf import settings
3 3

  
4
# Set local users, or a remote host. To disable local users set them to None.
5
sample_users = {
6
    '0000': 'test',
7
    '0001': 'verigak',
8
    '0002': 'chazapis',
9
    '0003': 'gtsouk',
10
    '0004': 'papagian',
11
    '0005': 'louridas',
12
    '0006': 'chstath',
13
    '0007': 'pkanavos',
14
    '0008': 'mvasilak',
15
    '0009': 'διογένης'
16
}
17

  
18 4
AUTHENTICATION_URL = getattr(settings, 'PITHOS_AUTHENTICATION_URL',
19 5
                             'https://<astakos.host>/im/authenticate/')
20 6
AUTHENTICATION_USERS = getattr(settings, 'PITHOS_AUTHENTICATION_USERS', {})
21 7

  
22
COOKIE_NAME = getattr(settings, 'ASTAKOS_COOKIE_NAME', '_pithos2_a')
8
COOKIE_NAME = getattr(settings, 'PITHOS_ASTAKOS_COOKIE_NAME', '_pithos2_a')
23 9

  
24 10
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
25 11
BACKEND_DB_MODULE = getattr(
......
75 61
                         'https://<astakos.host>/login/')
76 62

  
77 63
# Set the quota holder component URI
78
USE_QUOTAHOLDER = getattr(settings, 'PITHOS_USE_QUOTAHOLDER', True)
64
USE_QUOTAHOLDER = getattr(settings, 'PITHOS_USE_QUOTAHOLDER', False)
79 65
QUOTAHOLDER_URL = getattr(settings, 'PITHOS_QUOTAHOLDER_URL', '')
80 66
QUOTAHOLDER_TOKEN = getattr(settings, 'PITHOS_QUOTAHOLDER_TOKEN', '')

Also available in: Unified diff