Commit dfa9fc65 authored by hypsug0's avatar hypsug0
Browse files

feat: autocomplete study input form

parent ec21cf19
...@@ -830,6 +830,7 @@ class SessionForm(forms.ModelForm): ...@@ -830,6 +830,7 @@ class SessionForm(forms.ModelForm):
"main_observer": autocomplete.ModelSelect2(url="api:all_user_autocomplete"), "main_observer": autocomplete.ModelSelect2(url="api:all_user_autocomplete"),
"other_observer": autocomplete.ModelSelect2Multiple(url="api:all_user_autocomplete"), "other_observer": autocomplete.ModelSelect2Multiple(url="api:all_user_autocomplete"),
"place": autocomplete.ModelSelect2(url="api:place_autocomplete"), "place": autocomplete.ModelSelect2(url="api:place_autocomplete"),
"study": autocomplete.ModelSelect2(url="api:study_autocomplete"),
} }
error_messages = { error_messages = {
NON_FIELD_ERRORS: { NON_FIELD_ERRORS: {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment