Commit 53d8bab3 by Bill DeRusha Committed by Bill DeRusha

Typeahead search for ordered_instructor

parent 487b8513
...@@ -54,6 +54,13 @@ class ProgramAdminForm(forms.ModelForm): ...@@ -54,6 +54,13 @@ class ProgramAdminForm(forms.ModelForm):
'class': 'sortable-select', 'class': 'sortable-select',
} }
), ),
'instructor_ordering': autocomplete.ModelSelect2Multiple(
url='admin_metadata:person-autocomplete',
attrs={
'data-minimum-input-length': 3,
'class': 'sortable-select',
}
),
} }
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
......
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