Re: Positive integer form field with max lenght

2009-04-09 Thread emonk
duh, iam a fool Thanks to both for the fast response :) On Thu, Apr 9, 2009 at 4:46 AM, Adi Sieker wrote: > > > On 09.04.2009, at 09:27, emonk wrote: > > > Hi people. > > This is my doubt > > > > I need make a form field with this restrictions: > > > > _field content must be

Re: Positive integer form field with max lenght

2009-04-09 Thread Adi Sieker
On 09.04.2009, at 09:27, emonk wrote: > Hi people. > This is my doubt > > I need make a form field with this restrictions: > > _field content must be only integers numbers and postive. > _filed content must have a max lenght, for example 8 characters. > > I am confused beacuse

Re: Positive integer form field with max lenght

2009-04-09 Thread Malcolm Tredinnick
On Thu, 2009-04-09 at 04:27 -0300, emonk wrote: > Hi people. > This is my doubt > > I need make a form field with this restrictions: > > _field content must be only integers numbers and postive. > _filed content must have a max lenght, for example 8 characters. > > I am confused beacuse

Positive integer form field with max lenght

2009-04-09 Thread emonk
Hi people. This is my doubt I need make a form field with this restrictions: _field content must be only integers numbers and postive. _filed content must have a max lenght, for example 8 characters. I am confused beacuse models.PositiveIntegerField has no have max_length atribute (have a