ungleich-learning-circle/kjg/IPv6/ula/ularegistry/forms.py
2020-08-07 22:10:45 +09:00

16 lines
430 B
Python

from django import forms
from netfields import CidrAddressField, NetManager
class ip(forms.Form):
inputIP = forms.CharField()
#inputIP = CidrAddressField()
class ip_random(forms.Form):
inputNetwork = forms.CharField()
NetworkName = forms.CharField()
NetworkDescription = forms.CharField()
class new_ip_random(forms.Form):
NetworkName = forms.CharField()
NetworkDescription = forms.CharField()