Compare commits

...

4 Commits

Author SHA1 Message Date
LEdoian d6187ebc50 Merge branch 'master' into no-wishlist-autocomplete 3 years ago
LEdoian b72485390c Merge branch 'master' into no-wishlist-autocomplete 3 years ago
LEdoian aeb09421c5 Merge branch 'master' into no-wishlist-autocomplete 3 years ago
LEdoian 26a50a2219 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.
3 years ago

@ -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