fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed a way we access fields in TaggableModelForm to be compatibile with django...
[wolnelektury.git]
/
newtagging
/
managers.py
diff --git
a/newtagging/managers.py
b/newtagging/managers.py
index
04db00f
..
1dbcb29
100644
(file)
--- a/
newtagging/managers.py
+++ b/
newtagging/managers.py
@@
-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, *arg
s
, **kwargs)
class ModelTaggedItemManager(models.Manager):
class ModelTaggedItemManager(models.Manager):