Permalink
Browse files

taggit support: warn that commit=False is not supported by TagField

  • Loading branch information...
1 parent 27ed8d3 commit b79b942b51cf9ae97791ead5183a6a2a9b657162 @jpic jpic committed Nov 12, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 autocomplete_light/contrib/taggit_tagfield.py
@@ -8,6 +8,11 @@
class AppEditForm(forms.ModelForm):
tags = TagField(widget=TagWidget('TagAutocomplete'))
+
+.. Warning::
+ In this case, the tags field is a relation. Thus form.save() **must** be
+ called with commit=True.
+
"""

0 comments on commit b79b942

Please sign in to comment.