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

@ -1,5 +1,5 @@
server {
listen ssl;
ssl on;
TODO: gzip?
# TODO FOR ADMIN: Config listens and SSL and server_name and whatnot

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