Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(247)

Issue 4627046: paging of history results, currently without the option of setting count per page

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 6 months ago by sinha
Modified:
13 years, 6 months ago
Visibility:
Public.

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -8 lines) Patch
M MoinMoin/apps/frontend/views.py View 3 chunks +46 lines, -4 lines 8 comments Download
M MoinMoin/templates/global_history.html View 2 chunks +10 lines, -1 line 1 comment Download
M MoinMoin/themes/modernized/static/css/common.css View 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4
ThomasWaldmann
http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py#newcode644 MoinMoin/apps/frontend/views.py:644: please note that .get() has a second parameter, use ...
13 years, 6 months ago (2011-06-18 12:40:01 UTC) #1
sinha
And what should i do regarding this count param, should i wait or implement it ...
13 years, 6 months ago (2011-06-18 19:36:05 UTC) #2
Reimar Bauer
answered http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py File MoinMoin/apps/frontend/views.py (right): http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py#newcode644 MoinMoin/apps/frontend/views.py:644: On 2011/06/18 19:36:05, sinha wrote: > On 2011/06/18 ...
13 years, 6 months ago (2011-06-19 06:29:38 UTC) #3
sinha
13 years, 6 months ago (2011-06-20 04:02:06 UTC) #4
On 2011/06/19 06:29:38, Reimar Bauer wrote:
> answered
> 
> http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py
> File MoinMoin/apps/frontend/views.py (right):
> 
>
http://codereview.appspot.com/4627046/diff/1/MoinMoin/apps/frontend/views.py#...
> MoinMoin/apps/frontend/views.py:644: 
> On 2011/06/18 19:36:05, sinha wrote:
> > On 2011/06/18 12:40:01, ThomasWaldmann wrote:
> > > please note that .get() has a second parameter, use it correctly.
> > 
> > what changes i should do here, i mean i have used `count`  as second param
> > previously and was retrieving it correctly as request.values.get('count') ?
> 
> No
> 
> you can set the default. There are some other places in views.py where you can
> see that.

I am actually not getting the point here, i mean in modify_item function i am
seeing these lines
==================================
contenttype = request.values.get('contenttype')
template_name = request.values.get('template')
======================================

And i am doing no different than this, i mean how to use it correctly ?
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b