X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9b97d5a2faa6f56b439dcefe9c7bb23e0a84b39c..db833ba4517084f61a64907c6d15606e7c881edd:/apps/djangosphinx/constants.py diff --git a/apps/djangosphinx/constants.py b/apps/djangosphinx/constants.py new file mode 100644 index 000000000..976d48d41 --- /dev/null +++ b/apps/djangosphinx/constants.py @@ -0,0 +1,7 @@ +from django.conf import settings + +__all__ = ('SPHINX_API_VERSION',) + +# 0x113 = 1.19 +# 0x107 = 1.17 +SPHINX_API_VERSION = getattr(settings, 'SPHINX_API_VERSION', 0x107) \ No newline at end of file