]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/tag.py
Merge pull request #2 from udacity/update_django
[osqa.git] / forum / models / tag.py
index 73b1e30a2a92f3dcee60b85671cfdb91f7c1e3ac..eca23e468ae8d186605b5989831191284a8fed77 100644 (file)
@@ -11,8 +11,8 @@ from forum import modules
 class ActiveTagManager(CachedManager):
     use_for_related_fields = True
 
-    def get_query_set(self):
-        return super(ActiveTagManager, self).get_query_set().exclude(used_count__lt=1)
+    def get_queryset(self):
+        return super(ActiveTagManager, self).get_queryset().exclude(used_count__lt=1)
 
 class Tag(BaseModel):
     name            = models.CharField(max_length=255, unique=True)