X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/df656ce4c8ae86e0be20cc6e497cbab1ae8ffb3b..d5134f7b8c1b8ef13f44de06844a569c433ebf29:/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