On Dec 11, 5:20 am, Aaron <aa...@genieknows.com> wrote:
> On Dec 10, 6:04 pm, aa56280 <aa56...@gmail.com> wrote:
>
> > if form.is_valid():
> >   # do something and redirect
> > else:
> >   render_to_response('foo.html', {'form' : form'})
>
> Would that leave the URL as displayed in the browser the same as the
> one for the form handling view?

It will send a http redirect header, you can pass along your cleaned
data at that point.

See the docs for the shortcut:
http://docs.djangoproject.com/en/dev/topics/http/shortcuts/#redirect

-Preston

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to