I have a very simple form with one search field. This is the current
workflow:

If POST:
   form(request.post)
   If form is valid:
      Clean form
      Use clean data to HttpResponseRedirect to a "pretty url" e.g. if
junction restaurant, forward to <host>/junction-restaurant
else
    form

render_to_response form

Then I have a view that processes <host>/<clean-url>.

I am curious what you guys think about using HttpResponseRedirect to
facilitate clean urls. Am I making this too complicated?

Thanks, Matt

-- 
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