1 from django.conf import settings
3 if not hasattr(settings, 'WIKI_REPOSITORY_PATH'):
4 raise Exception('You must set WIKI_REPOSITORY_PATH in your settings file.')
6 REPOSITORY_PATH = settings.WIKI_REPOSITORY_PATH
7 GALLERY_URL = settings.MEDIA_URL + 'images/'