Re: TypeError : expected string or buffer when saving model object

2009-06-17 Thread Karen Tracey
On Wed, Jun 17, 2009 at 2:46 PM, dj wrote: > > Defined the this model: > > [snip] > When the data table (sqlite) is empty, I can save an instance of this > object with no errors. > However, once there is an existing instance of the object in the data > table, saving another > instance of this obj

TypeError : expected string or buffer when saving model object

2009-06-17 Thread dj
Defined the this model: class ModifyGroup(models.Model): user = models.ForeignKey(User, verbose_name='User', related_name='group_mod_request', null=True, blank=True) #account to be modified date = models.DateField('Request Date', auto_now_add=True) group_from = models.CharField('From