Generating HTML file dynamically from XML file on book save.
[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.usage_for_model(self.model, *arg, **kwargs)
+        return self.tag_model.objects.usage_for_model(self.model, *args, **kwargs)
 
 
 class ModelTaggedItemManager(models.Manager):