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 |
|