Statistics
| Branch: | Tag: | Revision:

root / snf-stats-app / synnefo_stats / stats_settings.py @ fde2c1f7

History | View | Annotate | Download (231 Bytes)

1 a33b15e6 Stratos Psomadakis
from django.conf import settings
2 a33b15e6 Stratos Psomadakis
from synnefo.lib import parse_base_url
3 a33b15e6 Stratos Psomadakis
4 a33b15e6 Stratos Psomadakis
BASE_URL = getattr(settings, 'STATS_BASE_URL',
5 a33b15e6 Stratos Psomadakis
                   'https://stats.example.synnefo.org/stats/')
6 a33b15e6 Stratos Psomadakis
BASE_HOST, BASE_PATH = parse_base_url(BASE_URL)