forked from uncloud/uncloud
13 lines
293 B
Python
13 lines
293 B
Python
|
from django import forms
|
||
|
|
||
|
from .models import *
|
||
|
from .selectors import *
|
||
|
|
||
|
class WireGuardVPNForm(forms.ModelForm):
|
||
|
class Meta:
|
||
|
model = WireGuardVPN
|
||
|
|
||
|
network_size = forms.ChoiceField(choices=allowed_vpn_network_reservation_size)
|
||
|
|
||
|
fields = [ "wireguard_public_key" ]
|