Re: validation error depending on widget

2009-10-16 Thread wmstudio
thanks a lot On Oct 16, 3:21 pm, Daniel Roseman wrote: > On Oct 16, 2:18 pm, wmstudio wrote: > > > > > > > Hi, > > > I have a model containing: > > > class Book(models.Model): > >     title = models.CharField(max_length=128) > >     price = models.DecimalField(max_digits=8, decimal_places=2

Re: validation error depending on widget

2009-10-16 Thread Daniel Roseman
On Oct 16, 2:18 pm, wmstudio wrote: > Hi, > > I have a model containing: > > class Book(models.Model): >     title = models.CharField(max_length=128) >     price = models.DecimalField(max_digits=8, decimal_places=2, > help_text='Please enter the price in $') >     summary = models.TextField(blank

validation error depending on widget

2009-10-16 Thread wmstudio
Hi, I have a model containing: class Book(models.Model): title = models.CharField(max_length=128) price = models.DecimalField(max_digits=8, decimal_places=2, help_text='Please enter the price in $') summary = models.TextField(blank=True) and I adjust the textarea size using admin.py