fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changes "/static/" to {{ STATIC_URL }} in templates.
[wolnelektury.git]
/
apps
/
catalogue
/
forms.py
diff --git
a/apps/catalogue/forms.py
b/apps/catalogue/forms.py
index
4b600b6
..
b040ef9
100644
(file)
--- a/
apps/catalogue/forms.py
+++ b/
apps/catalogue/forms.py
@@
-18,7
+18,7
@@
class BookImportForm(forms.Form):
class SearchForm(forms.Form):
class SearchForm(forms.Form):
- q = JQueryAutoCompleteField('/katalog/tags/', {'minChars': 2, 'selectFirst': True, 'cacheLength': 50})
+ q = JQueryAutoCompleteField('/katalog/tags/', {'minChars': 2, 'selectFirst': True, 'cacheLength': 50
, 'matchContains': "word"
})
tags = forms.CharField(widget=forms.HiddenInput, required=False)
def __init__(self, *args, **kwargs):
tags = forms.CharField(widget=forms.HiddenInput, required=False)
def __init__(self, *args, **kwargs):