separate Book.build_html method
[wolnelektury.git] / apps / api / settings.py
1 import os.path
2 from django.conf import settings
3
4
5 try:
6     MOBILE_INIT_DB = settings.API_MOBILE_INIT_DB
7 except AttributeError:
8     MOBILE_INIT_DB = os.path.abspath(os.path.join(settings.MEDIA_ROOT, 'api/mobile/initial/'))