From 1d2e0e41e4f655223629bb9434df7566444d18a0 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Fri, 8 Mar 2019 15:48:24 +0000 Subject: [PATCH] Patch No VPN setting back into existence --- manager/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/models.py b/manager/models.py index a214dc4..73d7f36 100644 --- a/manager/models.py +++ b/manager/models.py @@ -15,8 +15,8 @@ class Organization(models.Model): class Network(models.Model): name = models.CharField("Common Name", max_length=64, blank=True, null=True) - extip = models.GenericIPAddressField("External/Public IP", protocol='ipv4', unique=True) - intip = models.GenericIPAddressField("Internal/Private IP", protocol='ipv4', unique=True) + extip = models.CharField("External/Public IP", max_length=15, unique=True) + intip = models.CharField("Internal/Private IP", max_length=15, unique=True) organization = models.ManyToManyField(Organization) def __str__(self):