Re: Problem with field validation in 1.02

2008-12-16 Thread James Bennett
On Tue, Dec 16, 2008 at 7:44 AM, rtmie wrote: > OK, got it working: > changed view code to: > if request.method =='POST': >form = AppUserForm(request.POST,request.FILES) This is covered in the forms documentation; you may want to give it a read to learn how the django.forms module works

Re: Problem with field validation in 1.02

2008-12-16 Thread rtmie
OK, got it working: changed view code to: if request.method =='POST': form = AppUserForm(request.POST,request.FILES) On Dec 15, 2:48 pm, rtmie wrote: > H i , > I am trying to migrate a project from 0.95 to 1.02 and so have to > migrate all of my old model based validator stuff in the ne

Problem with field validation in 1.02

2008-12-15 Thread rtmie
H i , I am trying to migrate a project from 0.95 to 1.02 and so have to migrate all of my old model based validator stuff in the new forms style( my first encounter with the new forms style). I am having a problem with the following: in my model I have a AppUser class, with username , password ,

Problem with field validation in 1.02

2008-12-15 Thread rtmie
H i , I am trying to migrate a project from 0.95 to 1.02 and so have to migrate all of my old model based validator stuff in the new forms style( my first encounter with the new forms style). I am having a problem with the following: in my model I have a AppUser class, with username , password ,