diff contests/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 e14f54f16dbc
children eeaf387803c6
line wrap: on
line diff
--- a/contests/models.py	Mon Dec 14 20:42:20 2015 -0600
+++ b/contests/models.py	Tue Dec 15 21:01:07 2015 -0600
@@ -34,8 +34,8 @@
     creation_date = models.DateTimeField(blank=True)
     end_date = models.DateTimeField()
     contestants = models.ManyToManyField(User, related_name='contests',
-            null=True, blank=True)
-    winners = models.ManyToManyField(User, null=True, blank=True,
+            blank=True)
+    winners = models.ManyToManyField(User, blank=True,
             related_name='winning_contests')
     win_date = models.DateTimeField(null=True, blank=True)
     meta_description = models.TextField()