[vpn] add selector for size
This commit is contained in:
parent
10d5a72c5a
commit
5716cae900
3 changed files with 10 additions and 10 deletions
|
|
@ -4,9 +4,9 @@ from .models import *
|
|||
from .selectors import *
|
||||
|
||||
class WireGuardVPNForm(forms.ModelForm):
|
||||
network_size = forms.ChoiceField(choices=allowed_vpn_network_reservation_size)
|
||||
|
||||
class Meta:
|
||||
model = WireGuardVPN
|
||||
|
||||
network_size = forms.ChoiceField(choices=allowed_vpn_network_reservation_size)
|
||||
|
||||
fields = [ "wireguard_public_key" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue