Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (231 Bytes)

1
from django.conf import settings
2
from synnefo.lib import parse_base_url
3

    
4
BASE_URL = getattr(settings, 'STATS_BASE_URL',
5
                   'https://stats.example.synnefo.org/stats/')
6
BASE_HOST, BASE_PATH = parse_base_url(BASE_URL)