Patch No VPN setting back into existence

This commit is contained in:
Kumi 2019-03-08 15:48:24 +00:00
parent 45e35b36d1
commit 1d2e0e41e4

View file

@ -15,8 +15,8 @@ class Organization(models.Model):
class Network(models.Model): class Network(models.Model):
name = models.CharField("Common Name", max_length=64, blank=True, null=True) name = models.CharField("Common Name", max_length=64, blank=True, null=True)
extip = models.GenericIPAddressField("External/Public IP", protocol='ipv4', unique=True) extip = models.CharField("External/Public IP", max_length=15, unique=True)
intip = models.GenericIPAddressField("Internal/Private IP", protocol='ipv4', unique=True) intip = models.CharField("Internal/Private IP", max_length=15, unique=True)
organization = models.ManyToManyField(Organization) organization = models.ManyToManyField(Organization)
def __str__(self): def __str__(self):