File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,14 +298,14 @@ pass in the current page number, e.g.
298
298
return render_to_response(' people_listing.html' , {' table' : table},
299
299
context_instance = RequestContext(request))
300
300
301
- If you're using ``RequestConfig ``, pass pagination options to `` configure() `` ,
301
+ If you're using ``RequestConfig ``, pass pagination options to the constructor ,
302
302
e.g.:
303
303
304
304
.. code-block :: python
305
305
306
306
def people_listing (request ):
307
307
table = PeopleTable(Person.objects.all())
308
- RequestConfig(request).configure(table , paginate = {" per_page" : 25 })
308
+ RequestConfig(request, paginate = {" per_page" : 25 }).configure(table )
309
309
return render_to_response(' people_listing.html' , {' table' : table},
310
310
context_instance = RequestContext(request))
311
311
You can’t perform that action at this time.
0 commit comments