Tom Christie
|
7b51508600
|
Error on double underscore ordering with CursorPagination. Refs #3221.
|
2015-08-05 13:42:44 +01:00 |
|
Tom Christie
|
c203ca4c64
|
Deprecations
|
2015-07-30 15:26:42 +01:00 |
|
Tom Christie
|
b996266431
|
Merge master
|
2015-07-23 15:28:29 +01:00 |
|
Tom Christie
|
22631c73a7
|
Resolve assertion error with LimitOffsetPagination and erronous parameters. Closes #2920.
|
2015-07-23 12:41:35 +01:00 |
|
Tom Christie
|
c879aaf398
|
page_size needs to be stored as state on CursorPagination. Refs 3147.
|
2015-07-16 10:26:16 +01:00 |
|
Tom Christie
|
468361425d
|
page_size should be local, not overwriting class attribute.
|
2015-07-14 12:32:27 +01:00 |
|
Tom Christie
|
2b51d5594b
|
Remove whitespace and comment changes
|
2015-07-14 11:41:25 +01:00 |
|
Tom Christie
|
14a32ae32d
|
Add get_page_size hook to CursorPagination. Closes #3068.
|
2015-07-14 11:40:15 +01:00 |
|
Tom Christie
|
1d012aeb93
|
Merge branch 'cursor-limits' of https://github.com/uploadcare/django-rest-framework into uploadcare-cursor-limits
|
2015-07-14 11:37:18 +01:00 |
|
homm
|
a3afcfb6d3
|
duplicate get_page_size and related properties from PageNumberPagination
|
2015-07-13 14:44:48 +03:00 |
|
homm
|
59905e9335
|
revert BasePageSizePagination class and CursorPagination inheritance
|
2015-07-13 14:36:47 +03:00 |
|
José Padilla
|
7351a3f6ca
|
Sort imports with isort
|
2015-06-25 16:55:51 -04:00 |
|
José Padilla
|
83c9136c90
|
Cleanup import following PEP 8 style guide
|
2015-06-25 16:10:17 -04:00 |
|
homm
|
30b36a594f
|
use PageSizePaginationMixin for CursorPagination
tests for custom page_size in CursorPagination
|
2015-06-23 19:14:10 +03:00 |
|
homm
|
60656e9182
|
merge CursorPagination.decode_cursor and _decode_cursor
merge `CursorPagination.encode_cursor` and `_encode_cursor`
|
2015-06-23 19:00:42 +03:00 |
|
homm
|
9a5373d41c
|
make PageSizePaginationMixin from all this page_size stuff
|
2015-06-23 18:19:38 +03:00 |
|
homm
|
ab03729b58
|
allow cursor format customization
|
2015-06-23 18:00:26 +03:00 |
|
Ash Hoover
|
35c28a2a71
|
Include correct limits in LimitOffsetPagination link urls
|
2015-06-05 08:56:33 -07:00 |
|
Tom Christie
|
ae704eec58
|
Fix issue with pagination control always displaying
|
2015-06-03 11:35:03 +01:00 |
|
Tom Christie
|
995aa47570
|
First pass templates for admin style
|
2015-05-12 14:49:09 +01:00 |
|
Tom Christie
|
5cd0714dca
|
Do not paginate if PAGE_SIZE=None
|
2015-03-16 12:05:31 +00:00 |
|
Dirk Moors
|
6c1d0d7ed0
|
Fixed problem with imporing rest_framework.views in apps.py
|
2015-03-12 16:36:26 +01:00 |
|
Tom Christie
|
58dfde7fcd
|
Tweaks for cursor pagination and docs
|
2015-03-06 10:22:32 +00:00 |
|
Tom Christie
|
18cc0230bf
|
Clean up pagination attributes
|
2015-03-04 15:51:00 +00:00 |
|
Tom Christie
|
03818ed004
|
Pagination tweaks and docs
|
2015-02-26 12:48:34 +00:00 |
|
Tom Christie
|
fbb21caaaa
|
Merge master
|
2015-02-09 20:43:50 +00:00 |
|
Tom Christie
|
43d983fae8
|
Add paging controls
|
2015-01-22 17:25:12 +00:00 |
|
Tom Christie
|
0822c9e558
|
Cursor pagination now works with OrderingFilter
|
2015-01-22 16:12:05 +00:00 |
|
Tom Christie
|
408261ee02
|
Support ordering attribute either on view or on pagination class for CursorPagination
|
2015-01-22 15:15:52 +00:00 |
|
Tom Christie
|
83a82b44a5
|
Support for tuple ordering in cursor pagination
|
2015-01-22 15:07:01 +00:00 |
|
Tom Christie
|
38a2ed6f62
|
Python 3 fixes for cursor pagination
|
2015-01-22 14:04:25 +00:00 |
|
Tom Christie
|
ca372ef6ef
|
Fix for python 3
|
2015-01-22 13:50:51 +00:00 |
|
Tom Christie
|
94b5f7a86e
|
Tidy up cursor tests and make more comprehensive
|
2015-01-22 12:14:52 +00:00 |
|
Tom Christie
|
f1af603fb0
|
Tests for reverse pagination
|
2015-01-22 10:51:04 +00:00 |
|
Tom Christie
|
cae9528c54
|
Add support for reverse cursors
|
2015-01-22 10:28:19 +00:00 |
|
Tom Christie
|
e5b94f7b7b
|
Merge branch 'version-3.1' into cursor-pagination
|
2015-01-19 15:23:08 +00:00 |
|
Tom Christie
|
3cc39ffbce
|
NotImplemented -> NotImplementedError
|
2015-01-19 15:22:38 +00:00 |
|
Tom Christie
|
dbb684117f
|
Add offset support for cursor pagination
|
2015-01-19 09:24:42 +00:00 |
|
Tom Christie
|
492f3c410d
|
Cleaning up cursor implementation
|
2015-01-17 00:59:02 +00:00 |
|
Tom Christie
|
4919492582
|
First pass at cursor pagination
|
2015-01-17 00:10:43 +00:00 |
|
Tom Christie
|
86d2774cf3
|
Fix compat issues
|
2015-01-16 20:30:46 +00:00 |
|
Tom Christie
|
8b0f25aa0a
|
More pagination tests & cleanup
|
2015-01-16 16:55:46 +00:00 |
|
Tom Christie
|
53edd37df5
|
Tests for LimitOffsetPagination
|
2015-01-15 21:07:05 +00:00 |
|
Tom Christie
|
68dfa369b5
|
Flake 8 fixes
|
2015-01-15 16:55:04 +00:00 |
|
Tom Christie
|
d76e83dd78
|
Tweaks, and add pagination controls for offset/limit.
|
2015-01-15 16:52:07 +00:00 |
|
Tom Christie
|
313aa727e3
|
Tweaks
|
2015-01-14 17:46:41 +00:00 |
|
Tom Christie
|
3833a5bb8a
|
Include pagination control in browsable API
|
2015-01-14 16:51:26 +00:00 |
|
Tom Christie
|
1bcec3a0ac
|
API tweaks and pagination documentation
|
2015-01-13 17:14:13 +00:00 |
|
Tom Christie
|
73feaf6299
|
First pass at 3.1 pagination API
|
2015-01-09 15:30:36 +00:00 |
|
Tom Christie
|
26ac2656e5
|
Pass init arguments through to serializer from pagination serializer.
Closes #2355.
Normally a serializer won't need these arguments on __init__, but
if a user has customized __init__ they may expect them to be available.
|
2015-01-05 16:20:15 +00:00 |
|