Re: Field options validation only occur in admin interface?

2006-05-05 Thread Kilian CAVALOTTI
On Thursday 04 May 2006 18:41, James Bennett wrote: > Per the model documentation, 'blank=False' does only apply when > entering a value in the admin[1]. Well, "If a field has blank=True, validation on Django's admin site will allow entry of an empty value." was not explicit enough for me to un

Re: Field options validation only occur in admin interface?

2006-05-05 Thread Kilian CAVALOTTI
On Thursday 04 May 2006 18:29, Clint Ecker wrote: > Check these threads out. The short answer is, "it's coming." :) Hey, great to know! Having recently dived into django, I was not aware of these discussions. Thanks for having pointed them out to me. -- Kilian CAVALOTTI

Re: Field options validation only occur in admin interface?

2006-05-04 Thread James Bennett
On 5/4/06, Kilian CAVALOTTI <[EMAIL PROTECTED]> wrote: > class Obj(models.Model): > name = models.CharField(maxlength=80, blank=False) Per the model documentation, 'blank=False' does only apply when entering a value in the admin[1]. But that's not a very satisfying answer, so here's a fuller

Re: Field options validation only occur in admin interface?

2006-05-04 Thread Clint Ecker
On 5/4/06, Kilian CAVALOTTI <[EMAIL PROTECTED]> wrote: Hi all,I thought model properties validation would occur at objectcreation/modification, but it seems that it's not the case.(To be complete, I'd like to precise that I use the current svn trunk, and that I ran a 'manage.py reset project' betwe

Field options validation only occur in admin interface?

2006-05-04 Thread Kilian CAVALOTTI
Hi all, I thought model properties validation would occur at object creation/modification, but it seems that it's not the case. (To be complete, I'd like to precise that I use the current svn trunk, and that I ran a 'manage.py reset project' between each model modification) * First, I tried