diff contests/models.py @ 740:3e1905e523be

Django 1.6: get_query_set -> get_queryset, etc.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 Dec 2013 12:57:03 -0600
parents ee87ea74d46b
children 84aa49497718
line wrap: on
line diff
--- a/contests/models.py	Thu Dec 26 13:32:23 2013 -0600
+++ b/contests/models.py	Sun Dec 29 12:57:03 2013 -0600
@@ -14,8 +14,8 @@
     The manager for all public contests.
 
     """
-    def get_query_set(self):
-        return super(PublicContestManager, self).get_query_set().filter(is_public=True)
+    def get_queryset(self):
+        return super(PublicContestManager, self).get_queryset().filter(is_public=True)
 
 
 class Contest(models.Model):