Re: IntegrityError when creating a brand new model instance

2013-02-16 Thread Some Developer
On 11/02/13 14:54, Bill Freeman wrote: On Sun, Feb 10, 2013 at 10:50 AM, Some Developer mailto:someukdevelo...@gmail.com>> wrote: On 10/02/13 15:07, Bill Freeman wrote: Did you previously have a field named 'title' in this model that was marked unique, that you have since

Re: IntegrityError when creating a brand new model instance

2013-02-11 Thread Bill Freeman
On Sun, Feb 10, 2013 at 10:50 AM, Some Developer wrote: > On 10/02/13 15:07, Bill Freeman wrote: > >> Did you previously have a field named 'title' in this model that was >> marked unique, that you have since removed? If so, the column may still >> be in the database with a unique constraint. Si

Re: IntegrityError when creating a brand new model instance

2013-02-10 Thread Some Developer
On 10/02/13 15:07, Bill Freeman wrote: Did you previously have a field named 'title' in this model that was marked unique, that you have since removed? If so, the column may still be in the database with a unique constraint. Since it's no longer in the model, some default may be being used when

Re: IntegrityError when creating a brand new model instance

2013-02-10 Thread Bill Freeman
Did you previously have a field named 'title' in this model that was marked unique, that you have since removed? If so, the column may still be in the database with a unique constraint. Since it's no longer in the model, some default may be being used when you save, and that's obviously not uniqu

Re: IntegrityError when creating a brand new model instance

2013-02-09 Thread Some Developer
On 08/02/13 14:08, Andre Terra wrote: Please post traceback, settings.py, etc. On Fri, Feb 8, 2013 at 5:18 AM, Some Developer mailto:someukdevelo...@gmail.com>> wrote: I have a model for a Tag object with simply has two fields. A title (which has the unique constraint) and a description

Re: IntegrityError when creating a brand new model instance

2013-02-08 Thread Some Developer
On 08/02/13 14:08, Andre Terra wrote: Please post traceback, settings.py, etc. On Fri, Feb 8, 2013 at 5:18 AM, Some Developer mailto:someukdevelo...@gmail.com>> wrote: I have a model for a Tag object with simply has two fields. A title (which has the unique constraint) and a description

Re: IntegrityError when creating a brand new model instance

2013-02-08 Thread Andre Terra
Please post traceback, settings.py, etc. On Fri, Feb 8, 2013 at 5:18 AM, Some Developer wrote: > 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 o

IntegrityError when creating a brand new model instance

2013-02-07 Thread Some Developer
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 s