Hi Matthias - I changed my view name to DoPaymentDetailForm and still no luck. Does something have to call this view or does Django just do it automatically?
BR On Jun 26, 10:52 am, Matthias Kestenholz <[EMAIL PROTECTED]> wrote: > Hi, > > > > On Thu, 2008-06-26 at 07:30 -0700, Bobby Roberts wrote: > > hey - > > > got a quick question. I think i'm missing part of the puzzle here. > > > I have a form set up in a forms.py file. In my template i have it > > hand coded instead of using {{form.as_table}} because I want to be > > very specific on how it looks and operates. > > > I have a view as follows: > > > def PayDetailForm (request): > > if request.method =='POST': > > form = PayDetailForm (request.POST) > > else: > > form = PayDetailForm() > > return render_to_response('step-1.html',{'form': form} > > > The form fields are not showing up when i go to view the page but > > everything else is. Any idea what i could be missing? > > Simple: You should not use the same name for your view method and for > the form class. > > Matthias --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---