From b161265cadb72b94a6860345eaf4949366159608 Mon Sep 17 00:00:00 2001 From: Bastian Blank Date: Thu, 17 Oct 2013 21:02:54 +0000 Subject: [PATCH] Use GenericIPAddressField to allow IPv6 --- nsupdate/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nsupdate/main/models.py b/nsupdate/main/models.py index f675936..c9a29fa 100644 --- a/nsupdate/main/models.py +++ b/nsupdate/main/models.py @@ -36,7 +36,7 @@ def domain_blacklist_validator(value): class Domain(models.Model): domain = models.CharField(max_length=256, unique=True) - nameserver_ip = models.IPAddressField( + nameserver_ip = models.GenericIPAddressField( max_length=256, help_text="An IP where the nsupdates for this domain will be sent to") nameserver_update_key = models.CharField(max_length=256)