summaryrefslogtreecommitdiff
path: root/releng
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-08-23 21:30:25 -0500
committerDan McGee <dan@archlinux.org>2014-09-01 18:26:05 -0500
commit9d0db65025c229941d40e1d4f02f092c9d205723 (patch)
tree1d07b2a2360012ec64a2b22eee15ee5e5aee61b2 /releng
parent28d486870de2c68b53e544a7082c991983d0d763 (diff)
Fix up some IP address field issues
Ensure we always coerce values to unicode in our __unicode__ method, and remove some now unneeded verbosity and comments since the upstream bug has been fixed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'releng')
-rw-r--r--releng/models.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/releng/models.py b/releng/models.py
index 5d4caf2b..c3ffd322 100644
--- a/releng/models.py
+++ b/releng/models.py
@@ -90,9 +90,7 @@ class Bootloader(IsoOption):
class Test(models.Model):
user_name = models.CharField(max_length=500)
user_email = models.EmailField('email address')
- # Great work, Django... https://code.djangoproject.com/ticket/18212
- ip_address = models.GenericIPAddressField(verbose_name='IP address',
- unpack_ipv4=True)
+ ip_address = models.GenericIPAddressField('IP address', unpack_ipv4=True)
created = models.DateTimeField(editable=False)
iso = models.ForeignKey(Iso)