Tom Christie
|
0fb1ebcfcf
|
Remove unused import
|
2015-10-23 16:07:48 +01:00 |
|
Tom Christie
|
cf33008571
|
Release notes etc
|
2015-10-22 14:05:52 +01:00 |
|
Omer Katz
|
2e178bc970
|
Replaced all dict and set conversions from lists to dict and set literals.
|
2015-10-17 12:00:11 +03:00 |
|
Carlton Gibson
|
45ace5010e
|
Remove OrderedDict fallback
|
2015-09-22 16:35:38 +02:00 |
|
Tom Christie
|
aa4cd7e9d7
|
Guard against LimitOffsetPagination edge case. Closes #3303.
|
2015-08-20 10:12:52 +01:00 |
|
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 |
|
Tom Christie
|
c2e00a075c
|
Paginated serializers should get context.
|
2014-12-26 15:25:13 +00:00 |
|
Tom Christie
|
03c4eb1130
|
Use custom ListSerializer for pagination if one is specified on the serializer.
|
2014-12-20 16:32:07 +00:00 |
|
Tom Christie
|
b22c9602fa
|
Automatic field binding
|
2014-09-25 11:04:18 +01:00 |
|
Tom Christie
|
0d354e8f92
|
to_internal_value() and to_representation()
|
2014-09-12 09:49:35 +01:00 |
|
Tom Christie
|
040bfcc09c
|
NotImplemented stubs for Field, and DecimalField improvements
|
2014-09-11 21:48:54 +01:00 |
|
Tom Christie
|
de301f3b66
|
Merge master
|
2014-09-11 13:20:44 +01:00 |
|
Michał Jaworski
|
afe9b37f60
|
remove rogue print
|
2014-09-03 17:21:56 +02:00 |
|
Michał Jaworski
|
9195ccb97f
|
Use explicit many=True for object_serializer instantiation in PaginationSerializer and add catch dummy 'many' kwarg on DefaultObjectSerializer
|
2014-09-03 16:52:41 +02:00 |
|
Tom Christie
|
f2852811f9
|
Getting tests passing
|
2014-09-02 17:41:23 +01:00 |
|
Tom Christie
|
4ac4676a40
|
First pass
|
2014-08-29 16:46:26 +01:00 |
|
Tom Christie
|
95abe6e844
|
Cleanup docstrings
|
2013-04-25 12:47:34 +01:00 |
|
Tom Christie
|
b052c92ac3
|
Cleanup imports
Mostly adding `from __future__ import unicode_literals` everywhere.
|
2013-02-04 20:55:35 +00:00 |
|
Tom Christie
|
a51bca32fd
|
Fix issues with custom pagination serializers
|
2013-01-26 20:54:41 +00:00 |
|
Tom Christie
|
b7abf14d3a
|
Pass PaginationSerializer context through to child ModelSerializer on init. Fixes #595. Fixes #552.
|
2013-01-23 07:38:13 +00:00 |
|
Tom Christie
|
65f7aa0214
|
Drop unneeded passing through of kwargs now context issue is resolved.
|
2012-12-14 20:12:50 +00:00 |
|
Szymon Teżewski
|
5f08ec70e2
|
context to custom field in pagination
|
2012-12-13 12:07:56 +01:00 |
|
Tom Christie
|
33a6986462
|
Ensure pagination URLs are fully qualified
|
2012-11-08 21:47:54 +00:00 |
|
Tom Christie
|
30799a3955
|
Simplify NextPageField and PreviousPageField slightly
|
2012-11-07 21:09:26 +00:00 |
|
Tom Christie
|
47b534a13e
|
Make filtering optional, and pluggable.
|
2012-11-07 21:07:24 +00:00 |
|
Ben Konrath
|
5454162b04
|
Define 'page' query field name in one place.
|
2012-10-11 12:01:07 +02:00 |
|
Ben Konrath
|
6fbd411254
|
Make query filters work with pagination.
|
2012-10-11 12:01:07 +02:00 |
|
Tom Christie
|
ae8a827004
|
Make 'results_field' attribute of BasePaginationSerializer public.
|
2012-10-02 10:40:43 +01:00 |
|
Tom Christie
|
b16fb57771
|
Expand pagination support, add docs
|
2012-10-01 15:49:19 +01:00 |
|
Tom Christie
|
6fa589fefd
|
Pagination support
|
2012-09-30 17:31:28 +01:00 |
|