Compare commits

..

1 Commits

Author SHA1 Message Date
LEdoian af9896c95f Use modern syntax for SSL in nginx config
My nginx told me that the old one is deprecated.
3 years ago

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

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