require and use Mercurial 1.6 API
[redakcja.git] / apps / wiki / settings.py
1 from django.conf import settings
2
3 if not hasattr(settings, 'WIKI_REPOSITORY_PATH'):
4     raise Exception('You must set WIKI_REPOSITORY_PATH in your settings file.')
5
6 REPOSITORY_PATH = settings.WIKI_REPOSITORY_PATH
7 GALLERY_URL = settings.MEDIA_URL + 'images/'