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 model = m.WishedItem
fields = '__all__' fields = '__all__'
widgets = { widgets = {
'wishlists': autocomplete.ModelSelect2Multiple( # 'wishlists': autocomplete.ModelSelect2Multiple(
url='wishlist_list_autocomplete', # url='wishlist_list_autocomplete',
), # ),
} }
@admin.register(m.WishedItem) @admin.register(m.WishedItem)

Loading…
Cancel
Save