On 11/22/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> What is the Django Way (tm) to paginate complex queries with
> user-controlled parameters?  That is, if I want to paginate the results
> of a foos.get_list({'lots': 'of_complex', ['junk': 'in here']}) where
> the query terms are submitted via form, how should I go about that
> while maintaining the user-posted values from page to page?

This looks like a case where generic views, combined with the code
from ticket #667 (specifically, the second patch), might come in
handy:

http://code.djangoproject.com/ticket/667

I wrote the current patch implementation, so I'd love to hear any
suggestions or criticism.  :-)

Reply via email to