On Friday, January 7, 2011 4:05:27 PM UTC, hank23 wrote:
>
> Another question about forms. So the form name or names that I pass in
> the dictionary to the response can also be named anything and aren't
> required to be of a specific form name format right?
>
Yes, that's correct. There's no nam
Another question about forms. So the form name or names that I pass in
the dictionary to the response can also be named anything and aren't
required to be of a specific form name format right?
On Jan 7, 9:57 am, hank23 wrote:
> I see. So then I would code it something like this then:
>
> return
I see. So then I would code it something like this then:
return render_to_response('contact.html',
{ my_data_dictionary(including an entry for 'form': form) },
context_instance=RequestContext(request))
On Jan 7, 9:42 am, Daniel Roseman wrote:
> On Friday, January 7, 2011 3:38:10 PM UT
On Friday, January 7, 2011 3:38:10 PM UTC, hank23 wrote:
>
> So then when using a form do I code it something like this then:
>
>
> return render_to_response('contact.html', {
> 'form': form,
> my_data_dictionary,
> context_instance=RequestContext(request))
>
> })
>
>
> I ask b
So then when using a form do I code it something like this then:
return render_to_response('contact.html', {
'form': form,
my_data_dictionary,
context_instance=RequestContext(request))
})
I ask because it's confusing me when using a form for how to code the
form reference while
On Friday, January 7, 2011 3:15:33 PM UTC, hank23 wrote:
>
> In the topics forms documentation there's an example of using a form
> in a view which shows a return statement using a render_to_respone
> shortcut like this:
>
> return render_to_response('contact.html', {
> 'form': form,
> })
In the topics forms documentation there's an example of using a form
in a view which shows a return statement using a render_to_respone
shortcut like this:
return render_to_response('contact.html', {
'form': form,
})
but in the shortcuts documentation it shows an example of using
render_to_r
7 matches
Mail list logo