bilbeyt / django-fast-pagination Goto Github PK
View Code? Open in Web Editor NEWDjango Fast Paginator - Faster Queries For Large Databases
License: MIT License
Django Fast Paginator - Faster Queries For Large Databases
License: MIT License
Original Django paginator objects allow these arguments: object_list, per_page, orphans, allow_empty_first_page. You need to add bold ones to make your paginator compatible with Django.
This project must support models that are not using the id field as the primary key. Django models have pk attribute to reach primary key of model. Also you have to follow that naming convention too.
https://docs.djangoproject.com/en/3.0/topics/db/queries/#the-pk-lookup-shortcut
On readme file we need to show the benefits of this library. Some benchmarking data must be published.
Maybe we can use this library for building benchmark tests: https://pypi.org/project/pytest-benchmark/
Check this link.
My suggestion is:
can you please compare to cursor pagination?
You're getting object list from parameter but assigning it to ids list. Which one is correct?
provide link for documentation in README.md
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.