Thanks for the code.  I had to make the change below:  (in case this
trips anyone else up)

    def list(self):
        options = getattr(self.__class__, 'conditions', {})
        #pages, collection = paginate(self.__class__.model,
m.request_args.get('page', 1), **options)
        pages, collection = paginate(self.__class__.model,
m.request_args.get('page', 0), **options)
        setattr(c, self.__class__.individual + '_pages', pages)
        setattr(c, self.__class__.individual + '_collection',
collection)
        m.subexec(self.__class__.template_prefix + '/list.myt')


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss
-~----------~----~----~----~------~----~------~--~---

Reply via email to