Skip to content

Commit 4a22440

Browse files
committed
Adding upgrade docs
1 parent c0eda58 commit 4a22440

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,19 @@ If you use the Flask-DebugToolbar you can add
162162
`'flask.ext.mongoengine.panels.MongoDebugPanel'` to the `DEBUG_TB_PANELS` config
163163
list and then it will automatically track your queries.
164164

165+
Upgrading
166+
=========
165167

168+
0.6 to 0.7
169+
----------
170+
171+
`ListFieldPagination` order of arguments have been changed to be more logical::
172+
173+
# Old order
174+
ListFieldPagination(self, queryset, field_name, doc_id, page, per_page, total)
175+
176+
# New order
177+
ListFieldPagination(self, queryset, doc_id, field_name, page, per_page, total)
166178

167179

168180
Credits

0 commit comments

Comments
 (0)