Added branch 1.0.
[wolnelektury.git] / apps / djangosphinx / constants.py
diff --git a/apps/djangosphinx/constants.py b/apps/djangosphinx/constants.py
new file mode 100644 (file)
index 0000000..976d48d
--- /dev/null
@@ -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