Update admin.py

This commit is contained in:
Nick Sweeting 2023-12-18 19:24:48 -08:00 committed by GitHub
parent 7d06836443
commit 7d5a7f80ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,7 @@ class SnapshotActionForm(ActionForm):
tags = forms.ModelMultipleChoiceField( tags = forms.ModelMultipleChoiceField(
queryset=Tag.objects.all(), queryset=Tag.objects.all(),
required=False, required=False,
# WIP: commented out because broken by Django 3.1.2 -> 4.0 migration
# widget=AutocompleteSelectMultiple( # widget=AutocompleteSelectMultiple(
# # AutocompleteTags(), # # AutocompleteTags(),
# # AutocompleteTagsAdminStub(), # # AutocompleteTagsAdminStub(),