Brian Jacobel
2d470eef80
Change serializers.Field to serializers.ReadOnlyField for 3.x compatibility
...
Using this code snippet as-is on DRF 3.0.1 results in a NotImplementedError
being raised for to_representation due to 3.0's changed behavior with
serializers.Field. The code snippet should be updated to use
serializers.ReadOnlyField instead.
Further discussion here:
https://groups.google.com/forum/?fromgroups=#!topic/django-rest-framework/aX8mLT_v3yc
2014-12-13 14:47:11 -05:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Xavier Ordoquy
d8fb81ceb1
Merge pull request #1391 from kaygorodov/master
...
Turning off pagination
2014-04-30 20:14:16 +02:00
Tom Christie
9841069373
Link to DRF-extensions. Refs #1430
2014-02-20 14:54:17 +00:00
Andrey Kaygorodov
2d20512d25
#1390 , docs, turning of pagination
2014-02-05 21:10:51 +08:00
Andrey Kaygorodov
d48ba1cff7
turn of pagination
2014-02-05 05:47:27 +08:00
Tom Christie
848567a0cd
Docs for MAX_PAGINATE_BY
setting & view attribute.
2013-08-28 12:55:49 +01:00
Tom Christie
5e40e50f2b
Include import paths throughout docs.
...
Closes #1051 . Thanks to @pydanny for the report.
2013-08-21 19:46:09 +01:00
Tom Christie
b94da2468c
Various clean up and lots of docs
2013-04-24 22:40:24 +01:00
floppya
876bd67888
Minor doc fixes
...
Fixes misspelling of "primitive" and removes an awkward "with".
2013-02-13 13:59:00 -06:00
Tom Christie
a2dcf5e878
Fix pagination docs
2013-01-26 20:52:58 +00:00
Tom Christie
31b585f26a
Note paginate_by=None usage. Fixes #555 .
2013-01-07 21:13:10 +00:00
Tom Christie
f131e533ed
Docs, docs, docs, docs, docs, docs
2012-11-18 17:57:07 +00:00
Tom Christie
2263ed8b94
Tweak
2012-11-16 23:24:36 +00:00
Tom Christie
0eba278e13
Improve pagination docs
2012-11-16 23:22:23 +00:00
Tom Christie
efabd2bb1b
docs, docs, docs, docs, docs, docs, docs
2012-10-19 19:59:55 +01:00
Tom Christie
9c1fba3483
Tweak parsers to take parser_context
2012-10-15 13:27:50 +01:00
Tom Christie
ae8a827004
Make 'results_field' attribute of BasePaginationSerializer public.
2012-10-02 10:40:43 +01:00
Tom Christie
dae6d09398
Add example of using paginator in a view
2012-10-01 16:27:22 +01:00
Tom Christie
8d1d990187
Pagination docs
2012-10-01 16:17:01 +01:00
Tom Christie
b16fb57771
Expand pagination support, add docs
2012-10-01 15:49:19 +01:00