Revision 4ab620b6 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
AUTHENTICATION_URL = getattr(settings, 'PITHOS_AUTHENTICATION_URL',
5
                             'https://accounts.example.synnefo.org/im/authenticate/')
6
ASTAKOS_URL = AUTHENTICATION_URL.replace("im/authenticate/", "")
7

  
8 4
COOKIE_NAME = getattr(settings, 'PITHOS_ASTAKOS_COOKIE_NAME', '_pithos2_a')
9 5

  
10 6
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).

Also available in: Unified diff