Commit ec0a81fd by Alexey Boriskin Committed by Anssi Kääriäinen

Django commit…

Django commit https://github.com/django/django/commit/3647c0a49a2f4535b8a9aba40e662743e4d53e76 broke taggit. This commit fixes that. Thanks akaariai for the patch (see https://code.djangoproject.com/ticket/19399 for details).
parent 59883cc9
......@@ -65,6 +65,7 @@ class TaggableManager(RelatedField, Field):
return False
def post_through_setup(self, cls):
self.related = RelatedObject(cls, self.model, self)
self.use_gfk = (
self.through is None or issubclass(self.through, GenericTaggedItemBase)
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment