]> git.openstreetmap.org Git - osqa.git/commitdiff
Fix in tag denormalization affection question deletion.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 14 Jun 2010 00:57:42 +0000 (00:57 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Mon, 14 Jun 2010 00:57:42 +0000 (00:57 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@414 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/models/node.py

index bebd07c6cd4df75b57c06f446001f79e1bb3e2ce..70d10b647c2dfa2da162491dc4a616e7660e1fbb 100644 (file)
@@ -349,7 +349,7 @@ class Node(BaseModel, NodeContent):
 
         if action:
             for tag in self.tags.all():
-                tag.tag.add_to_usage_count(-1)
+                tag.add_to_usage_count(-1)
                 tag.save()
         else:
             for tag in Tag.objects.filter(name__in=self.tagname_list()):