Remove autocomplete from Admin

There are two reasons: it does not work in Android 6 built-in browser,
and also it does not play nice with dark mode of Admin.
no-wishlist-autocomplete
LEdoian 3 years ago
parent 49c5c319c4
commit 26a50a2219

@ -10,9 +10,9 @@ class WishedItemAdminForm(ModelForm):
model = m.WishedItem
fields = '__all__'
widgets = {
'wishlists': autocomplete.ModelSelect2Multiple(
url='wishlist_list_autocomplete',
),
# 'wishlists': autocomplete.ModelSelect2Multiple(
# url='wishlist_list_autocomplete',
# ),
}
@admin.register(m.WishedItem)

Loading…
Cancel
Save