1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Introduce local ChoiceField and MultipleChoiceField classes

This commit is contained in:
jeremystretch
2022-03-21 15:08:05 -04:00
parent ba1e6e91b9
commit 3dc671395e
8 changed files with 108 additions and 114 deletions

View File

@ -88,9 +88,10 @@ class StaticSelect(forms.Select):
class StaticSelectMultiple(StaticSelect, forms.SelectMultiple):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
"""
Extends `StaticSelect` to support multiple selections.
"""
pass
class SelectWithPK(StaticSelect):