X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/df656ce4c8ae86e0be20cc6e497cbab1ae8ffb3b..31f67094578292b834139406a9aaea3a15123218:/forum/models/tag.py diff --git a/forum/models/tag.py b/forum/models/tag.py index 73b1e30..eca23e4 100644 --- a/forum/models/tag.py +++ b/forum/models/tag.py @@ -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)