projects
/
oweals
/
karmaworld.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb9188
)
closes #376 adjust min length before autocompleting schools
author
Bryan
<btbonval@gmail.com>
Sun, 12 Oct 2014 17:26:38 +0000
(13:26 -0400)
committer
Bryan
<btbonval@gmail.com>
Sun, 12 Oct 2014 17:26:38 +0000
(13:26 -0400)
karmaworld/apps/courses/forms.py
patch
|
blob
|
history
diff --git
a/karmaworld/apps/courses/forms.py
b/karmaworld/apps/courses/forms.py
index f46d028ef96fadade1f5697126fa5b4ef587346d..b15549bfc8f79c8a66609a488a0458e3ca17fcb1 100644
(file)
--- a/
karmaworld/apps/courses/forms.py
+++ b/
karmaworld/apps/courses/forms.py
@@
-85,6
+85,7
@@
class DepartmentForm(NiceErrorModelForm, ACFieldModelForm):
# first argument is ajax channel name, defined in models as LookupChannel.
school = AutoCompleteSelectField('school_object_by_name',
help_text='',
+ plugin_options={'minLength': 3},
label=mark_safe('School <span class="required-field">(required)</span>'))
# first argument is ajax channel name, defined in models as LookupChannel.
name = AutoCompleteDependentSelectField(