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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.