summaryrefslogtreecommitdiff
path: root/ishtar_common/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/utils.py')
-rw-r--r--ishtar_common/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/utils.py b/ishtar_common/utils.py
index 189e91b8c..34d170892 100644
--- a/ishtar_common/utils.py
+++ b/ishtar_common/utils.py
@@ -62,6 +62,9 @@ class BColors:
CSV_OPTIONS = {'delimiter': ',', 'quotechar': '"', 'quoting': QUOTE_ALL}
+TXT_SEARCH_COMMENT = "key for text search (no accent, no spaces)"
+
+
def check_rights(rights=None, redirect_url='/'):
"""
Decorator that checks the rights to access the view.