Re: Form Functionality

2010-11-14 Thread werefr0g
Hi Matt, I think your form should use GET method, not POST method: there is no modification implied when submitting it. Now, I'm perfectly fine using parameters in the url as it is meaningful: your accessing the search ressource and passing it a parameter. It's different for a ressource that

Form Functionality

2010-11-13 Thread Matt
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 /junction-restaurant else form render_to_r