diff downloads/models.py @ 1028:5ba2508939f7

Django 1.8 changes; first batch.
author Brian Neal <bgneal@gmail.com>
date Tue, 15 Dec 2015 21:01:07 -0600
parents a5ebc74dc3f3
children eeaf387803c6
line wrap: on
line diff
--- a/downloads/models.py	Mon Dec 14 20:42:20 2015 -0600
+++ b/downloads/models.py	Tue Dec 15 21:01:07 2015 -0600
@@ -57,7 +57,7 @@
     file = models.FileField(upload_to=download_path)
     user = models.ForeignKey(User)
     date_added = models.DateTimeField(db_index=True)
-    ip_address = models.IPAddressField('IP Address')
+    ip_address = models.GenericIPAddressField('IP Address')
     update_date = models.DateTimeField(db_index=True, blank=True)
 
     class Meta: