- def page_size(self, default):\r
- pagesize = self.request.REQUEST.get('pagesize', None)\r
- if pagesize is None:\r
- return int(self.request.session.get('questions_pagesize', default))\r
- else:\r
- self.request.session['questions_pagesize'] = pagesize\r
- return int(pagesize)\r
+ if request.session.get('redirect_POST_data', None):\r
+ request.POST = request.session.pop('redirect_POST_data')\r
+ request.META['REQUEST_METHOD'] = "POST"\r