Commit b45f5b40 by Alex Gaynor

Fix editing on forms.

parent a0594f1a
...@@ -72,6 +72,9 @@ class TaggableManager(object): ...@@ -72,6 +72,9 @@ class TaggableManager(object):
defaults.update(kwargs) defaults.update(kwargs)
return form_class(**kwargs) return form_class(**kwargs)
def value_from_instance(self, instance):
return getattr(instance, self.name).all()
def related_query_name(self): def related_query_name(self):
return None return None
......
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