Re: Form isn't appearing properly in template

2007-07-03 Thread Malcolm Tredinnick
On Tue, 2007-07-03 at 15:21 +, Rishtastic wrote: > Hi, I'm a django newb and I am trying to make an upload form. > > my view is: > > 11 def newupload(request): > 12 manipulator = PFile.AddManipulator() > 13 username = request.user.username > 14 u = User.object

Re: Form isn't appearing properly in template

2007-07-03 Thread RajeshD
Hi, > I was basing my template off > of:http://www.djangoproject.com/documentation/0.95/forms/ You should definitely move to the newforms framework with either the 0.96 release or the SVN trunk. See the newforms docs here: http://www.djangoproject.com/documentation/newforms/ -Rajesh --~--~-

Form isn't appearing properly in template

2007-07-03 Thread Rishtastic
Hi, I'm a django newb and I am trying to make an upload form. my view is: 11 def newupload(request): 12 manipulator = PFile.AddManipulator() 13 username = request.user.username 14 u = User.objects.get(username=username) 15 16 if request.POST: 17