I have a model for a Tag object with simply has two fields. A title
(which has the unique constraint) and a description. I also have a
FormView based view class which handles the creation of Tag objects.
When I try and save the object in the form_valid() method I always get
an IntegrityError stating that the title column is not unique. This is
somewhat puzzling as I have deleted the SQLite database file and
recreated it using syncdb / migrate so it is completely empty.
I'm completely baffled by this error.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.