Changed a way we access fields in TaggableModelForm to be compatibile with django...
[wolnelektury.git] / newtagging / managers.py
index 04db00f..1dbcb29 100644 (file)
@@ -23,7 +23,7 @@ class ModelTagManager(models.Manager):
         return self.tag_model.objects.related_for_model(tags, self.model, *args, **kwargs)
     
     def usage(self, *args, **kwargs):
         return self.tag_model.objects.related_for_model(tags, self.model, *args, **kwargs)
     
     def usage(self, *args, **kwargs):
-        return self.tag_model.objects.usage_for_model(self.model, *arg, **kwargs)
+        return self.tag_model.objects.usage_for_model(self.model, *args, **kwargs)
 
 
 class ModelTaggedItemManager(models.Manager):
 
 
 class ModelTaggedItemManager(models.Manager):