]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/tag.py
OSQA-533, fixed some W3C validation errors: closing <img /> tags, removed some unnece...
[osqa.git] / forum / models / tag.py
index 93d235bf057a689966908f686634b013d186b8a9..dd628c830d2580b7e5e403241dfa065deb556f37 100644 (file)
@@ -6,6 +6,8 @@ from django.utils.translation import ugettext as _
 from forum import modules
 
 class ActiveTagManager(models.Manager):
+    use_for_related_fields = True
+
     def get_query_set(self):
         return super(ActiveTagManager, self).get_query_set().exclude(used_count__lt=1)