This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ======================================================================= | |
# === Description ...: Integrate DRF with VueTable-2 | |
# === Author ........: Mike Boiko | |
# === Fork by .......: Raffaele Tani, encapsulated pagination in link node, added support for non int indexes | |
# ======================================================================= | |
# If you want to integrate Django Rest Pagination with VueTable, you must | |
# change the pagination as shown below: | |
# Then, in your views.py file, the pagination_class must be set to CustomPagination | |
# See example below: |