Re: how to get form fields to show

2008-06-26 Thread Hanne Moa
On Thu, Jun 26, 2008 at 11:07 PM, Bobby Roberts <[EMAIL PROTECTED]> wrote: > Ok i've got the form fields showing fine. My form action is "." per > the examples in the documentation. The form is submitting and tracing > through the view but i get a "view didn't return an > HttpResponse.objec

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
disregard this last post... i figured it out thanks --~--~-~--~~~---~--~~ 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 g

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
Ok i've got the form fields showing fine. My form action is "." per the examples in the documentation. The form is submitting and tracing through the view but i get a "view didn't return an HttpResponse.object. here's my view: from forms import * from django.shortcuts import get_object_or

Re: how to get form fields to show

2008-06-26 Thread rskm1
> urlpatterns = patterns('', > (r'/step-1.html', 'billpay.views.DoPayDetailForm'), > ) > > Wouldn't this call the dopaydetailform view if you went to the page / > step-1.html ? At this stage, while you're still learning, I would AVOID making URL mappings that "appear" to be HTML files, becau

Re: how to get form fields to show

2008-06-26 Thread Huuuze
> urlpatterns = patterns('', >     (r'/step-1.html', 'billpay.views.DoPayDetailForm'), > ) > > Wouldn't this call the dopaydetailform view if you went to  the page / > step-1.html ? It's close. Re-write it as such: > urlpatterns = patterns('', > (r'^step-1.html/$', billpay.views.DoPayDetail

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
> Hey no problem -- great you are learning new skills after that much > time. I did not mean to sound abrasive. I don't think you sounded abrasive @ all... I appreciate the hand up on this stuff. Definitely different (and a hell of a lot better) than programming with MS. here's what i've added

Re: how to get form fields to show

2008-06-26 Thread Matthias Kestenholz
On Thu, 2008-06-26 at 08:19 -0700, Bobby Roberts wrote: > > But you should really start with the tutorial[1] or the Django Book[2]. > > The documentation for Django is really outstanding, you'll progress much > > faster if you do some more reading. > > > > [1]:http://www.djangoproject.com/document

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
> But you should really start with the tutorial[1] or the Django Book[2]. > The documentation for Django is really outstanding, you'll progress much > faster if you do some more reading. > > [1]:http://www.djangoproject.com/documentation/ > [2]:http://www.djangobook.com/ - Yeah i've got thes

Re: how to get form fields to show

2008-06-26 Thread Matthias Kestenholz
On Thu, 2008-06-26 at 08:10 -0700, Bobby Roberts wrote: > Hey - > > i've only included a single line in my urls file as follows: > > urlpatterns=patterns('django.views.generic.simple', > (r'step-1.html', 'direct_to_template', {'template': > 'step1.html'}), > > > This obviously calls my htm

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
> Do you have an URLconf entry for your DoPaymentDetailForm view? Are you > sure, the view gets called? > Maybe you have an error in your Django Template? How do you access the > fields? (Something like {{ form.your_field }} should work.) > > Matthias My urls.py file only has the call for the t

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
Hey - i've only included a single line in my urls file as follows: urlpatterns=patterns('django.views.generic.simple', (r'step-1.html', 'direct_to_template', {'template': 'step1.html'}), This obviously calls my html page. how do i call the view? BR On Jun 26, 10:52 am, Matthias Keste

Re: how to get form fields to show

2008-06-26 Thread Matthias Kestenholz
On Thu, 2008-06-26 at 08:01 -0700, Bobby Roberts wrote: > 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? > > I'm not sure what you are talking about. Django does nearly nothi

Re: how to get form fields to show

2008-06-26 Thread Bobby Roberts
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

Re: how to get form fields to show

2008-06-26 Thread Matthias Kestenholz
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