X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2c3ba81e19fd6d84ab208ad90a48fd81e4780c29..dcacc3b4c2ba2f550806a2d22b183f6fac4f63ff:/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)