Skip to main content

=======you can use this toll to paginate your querysets=======

Project description

============how to use?===========


class User(DocumentPro):

user_id = IntField()

name = StringField()

page_index = 2

page_size = 20

user_list = User.objects().paginate(page_index, page_size)

result_list = result.items

total_items =

total_page = result.pages,

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mongoengine-pagination, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size mongoengine_pagination-0.1.5-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size mongoengine_pagination-0.1.5.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page