fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
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
+++ 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