Re: how to avoid blank content

2007-09-04 Thread Jeremy Dunck
On 9/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > i have a class which have two field: > author = models.ForeignKey(User) > body = models.TextField(blank=False,null=False) > i found in admin interface, i cannot save a record with blank content > for body,which will rise

how to avoid blank content

2007-09-04 Thread [EMAIL PROTECTED]
i have a class which have two field: author = models.ForeignKey(User) body = models.TextField(blank=False,null=False) i found in admin interface, i cannot save a record with blank content for body,which will rise a error. but in user interface, i can save it with blank content.