2009/5/17 sampablokuper
> I've been encountering the same problem. It's especially frustrating
> because it seems model validation used to be much easier in Django
> (see
> http://www.cotellese.net/2007/12/11/adding-model-field-validation-to-the-django-admin-page/
> ).
> [...]
>
> Are the Django
On May 17, 12:07 am, Daniel Roseman
wrote:
> On May 16, 11:32 pm, ajohnsen wrote:
> > I am trying to assign max_value and min_value to a
> > PositiveIntegerField in my model but am getting the error:
>
> > year_built = models.PositiveIntegerField(min_value=1800,
> > max_value=2100)
> > TypeError
On May 16, 11:32 pm, ajohnsen wrote:
> Hello,
>
> I am trying to assign max_value and min_value to a
> PositiveIntegerField in my model but am getting the error:
>
> year_built = models.PositiveIntegerField(min_value=1800,
> max_value=2100)
> TypeError: __init__() got an unexpected keyword argume
Hello,
I am trying to assign max_value and min_value to a
PositiveIntegerField in my model but am getting the error:
year_built = models.PositiveIntegerField(min_value=1800,
max_value=2100)
TypeError: __init__() got an unexpected keyword argument 'max_value'
Here is the model:
from django.db i
4 matches
Mail list logo