]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/node.py
Migrate to Django 1.6
[osqa.git] / forum / models / node.py
index 5b6cdb512a0554edac61d303594e15a11f65f494..20ede477f2c95a826745b4a93dfec5bf87b2a00b 100644 (file)
@@ -152,7 +152,7 @@ class NodeQuerySet(CachedQuerySet):
 class NodeManager(CachedManager):
     use_for_related_fields = True
 
-    def get_query_set(self):
+    def get_queryset(self):
         qs = NodeQuerySet(self.model)
 
         # If the node is an answer, question or comment we filter the Node model by type