X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2c3ba81e19fd6d84ab208ad90a48fd81e4780c29..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/forum/models/node.py diff --git a/forum/models/node.py b/forum/models/node.py index 5b6cdb5..20ede47 100644 --- a/forum/models/node.py +++ b/forum/models/node.py @@ -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