On 16 déc, 01:15, SnappyDjangoUser <bpwall...@gmail.com> wrote:
> I wanted to run this by the group one more time.... does anyone know
> how to handle sorting results by table header URL after a POST
> request?
>
> I have used the SortHeaders class for GET requests and it works
> great.  I am hoping to find a way to extend this for POST requests.

Short answer : don't !-)

Longer answer below:

> On Nov 25, 2:29 pm, SnappyDjangoUser <bpwall...@gmail.com> wrote:
(snip)

> > In my case I am submitting a form to search for items

Submit this form as a GET request (iow : set the html form's method
attribute to 'get'). POST is for when you want to alter the server's
state (ie : add or modify some record etc).

And of course don't forget to add the relevant querystring part to the
urls of your table headers...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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