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
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
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
> 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
> 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
> 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
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
> 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
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
> 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
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
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
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
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
14 matches
Mail list logo