Christoph Haas is Paginate's maintainer. You can send him a patch at
em...@christoph-haas.de . I don't know whether he has a particular
reason for putting those methods where they are.
--
Mike Orr <slugg...@gmail.com>
--
Mike Orr <slugg...@gmail.com>
Please do that if you managed to do move the functions around. I understand
that you want to override the functions more easily but in the code it's
not that trivial. Page.pager() calls _range() which in turn calls
_pagerlink. And _pagerlink needs quite a few parameters from pager(). So
the correct way would be to pass through all these variables on every call.
I have started to do that but the code becomes less readable so that I
wonder if it's worth it.
Let me know if you have a niftier patch than what I did.
Cheers
Christoph
Sorry for the noise. Just found your patch at
http://paste.pocoo.org/show/113226/ and will look into it. Thanks for the
contribution.
Christoph