Nikita Sobolev
d2977cff98
Fixes inconsistent headers in serializer
docs ( #8056 )
...
Some headers were using `.`, some - were not.
Now, all of them are the same with `.`, because it was easier to fix.
2021-06-28 13:07:41 +01:00
Erwin Junge
bb133522ef
Small documentation fix
2020-11-22 12:21:30 +01:00
Adam Johnson
fd5e1a745a
Fixed some documentation headings to use a space ( #7364 )
2020-10-10 17:42:59 +01:00
Thomas Riccardi
1ef192811c
Add missing quoting for data
keyword argument in serializer doc ( #7587 )
2020-10-10 17:34:39 +01:00
Masked Man
17f2b39bdb
Fix docs issue ( #7418 )
2020-08-05 15:33:30 -07:00
Oğuzhan Çelikarslan
36bd1b30d8
drf-encrypt-content added into third party list in documentation's serializer page ( #7398 )
2020-07-06 11:56:46 +01:00
Nikhil Kumar
505a69cf43
Fixed heading markdown
2020-06-01 13:49:43 -04:00
johnthagen
fccfdd21c0
Remove object inheritance in docs ( #7332 )
2020-05-13 17:54:46 -07:00
0dysseas
be96939ec1
Fix serializer example in docs ( #7233 )
2020-03-17 09:49:19 -07:00
Samuel Dion-Girardeau
e32ffbb12b
Fix docs code example ( #7201 )
2020-02-24 16:33:00 -08:00
Prayash Mohapatra
764dabd29e
Update writeable nested serializer doc ( #7198 )
2020-02-20 10:55:13 +00:00
Braden MacDonald
3aa1089a6a
Update serializer docs to use correct param name ( #6995 )
...
Avoids a pylint warning ".to_representation: Parameters differ from overridden 'to_representation' method" if people copy these examples.
2019-10-15 15:47:05 +01:00
Law Karingithi
0e4811e9ce
Fix minor grammatical errors in docs ( #6979 )
2019-10-08 09:38:14 -07:00
linchiwei123
da1c6d4129
Fix indent ( #6825 )
2019-07-18 23:09:04 -07:00
Luke Plant
f0dbf0a264
Update docs to use lists instead of tuples ( #6797 )
2019-07-12 18:15:36 -07:00
Tom Christie
cc88c8a6f3
Update serializers.md
2019-07-08 11:12:30 +01:00
linchiwei123
8fbf8c3fa3
Update serializers.md ( #6783 )
2019-07-05 09:11:20 +01:00
Ryan P Kilby
82c2b5c3e7
Update mkdocs ( #6769 )
2019-06-30 19:04:36 -07:00
David Sanders
95e28b2252
Fix typo in docs
2019-04-27 12:07:49 -07:00
Dmitry Alimov
1ac0f63aa9
Fix private attributes ignore in documentation ( #6601 )
2019-04-21 17:27:13 +01:00
Billy Rotich
f8c4e5079e
Minor documentation fixes ( #6581 )
2019-04-13 15:02:19 +02:00
Michael Käufl
f9401f5ff0
Fix Python 3 compat in documentation
2019-02-16 15:47:13 +01:00
Mice Pápai
d0369b27cd
update docs/api-guide/serializers.md: consistency ( #6320 )
2018-11-15 14:44:54 +00:00
Jon Dufresne
4d57d46bf8
Prefer io.BytesIO over six; available on all supported Pythons ( #6168 )
...
On all supported Pythons, the io.BytesIO is always a stream
implementation using an in-memory bytes buffer.
Makes code slightly more forward compatible by reducing use of the six
module and promotes more forward compatible practices in the docs.
2018-09-09 11:53:41 +01:00
David Sanders
69f605f30e
Fix validate_my_field signature
2018-09-06 18:16:06 -07:00
Steven Loria
8a639c6c06
Update link to django-rest-marshmallow docs ( #5925 )
2018-04-09 16:48:18 +02:00
Teddy Cross
78367ba102
Always fully qualify ValidationError in docs ( #5751 )
2018-01-19 08:40:09 +01:00
Jon Dufresne
d3f3c3d9c1
Prefer https protocol for links in docs when available
2018-01-15 15:15:21 +01:00
Jon Dufresne
ffe3dbb1b1
Perfer iter(dict) over iter(dict.keys()) ( #5736 )
...
Calling dict.keys() is unnecessary. The two are functionally equivalent
on modern Pythons.
Inspired by Lennart Regebro's talk "Prehistoric Patterns in Python" from
PyCon 2017.
https://www.youtube.com/watch?v=V5-JH23Vk0I
2018-01-08 09:49:46 +00:00
Mariano Baragiola
be0a57b0f1
FIX link
2017-12-27 10:28:59 -03:00
Mariano Baragiola
6ce60cd594
Update writable nested serializers docs
2017-12-27 10:17:10 -03:00
Carlton Gibson
b3a0b271cd
Add example to to_representation docs ( #5682 )
...
Closes #5425 as per https://github.com/encode/django-rest-framework/issues/5425#issuecomment-341063819
2017-12-19 12:06:24 +01:00
Hang Park
01587b9eb1
Typos in serializers documentation ( #5652 )
...
Fixes #5651 .
Change `update()` to `.update()` in serializers documentation to get a
consistency with `.create()`.
2017-12-04 07:00:03 -05:00
bartkim0426
9c11077cf6
Fix in documentation ( #5612 )
...
- typo in serialization document: 'intead' => 'instead'
2017-11-20 09:08:16 +01:00
Alexei Znamensky
20954469b2
Fix in documentation ( #5611 )
...
- model serializers now must provide either "fields" or "exclude" as attribute
2017-11-20 09:07:36 +01:00
Xavier Ordoquy
f585eee125
Remove duplicated line
2017-10-09 22:19:53 +02:00
Ryan P Kilby
e0a6c4b5bd
Clarify 'to_internal_value()' validation behavior ( #5466 )
2017-10-02 13:51:48 +01:00
Vadim Laletin
c0475d059d
Update link to drf-writable-nested repository in third-party serializers
2017-08-29 10:39:52 +07:00
Vadim
d390762e18
Add drf-writable-nested package to third-party serializers ( #4913 )
2017-02-20 15:16:27 +00:00
Akhil Lawrence
963cb4cdc6
Corrected documentation
2017-02-18 13:20:03 +05:30
Michael Borisov
176831e22b
Missing comma ( #4889 )
2017-02-08 15:17:58 +00:00
wim glenn
e2c35920d1
fix a spelling error in api-guide ( #4788 )
2017-01-06 22:46:56 +00:00
wim glenn
718764f591
add links to djangorestframework-queryfields to docs ( #4786 )
2017-01-06 06:40:50 +00:00
Ian Clark
eddc34f4c8
Add Serializer Extensions documentation ( #4777 )
2017-01-04 08:40:42 +00:00
Ryan P Kilby
11fd3bf108
Add disabling of declared fields on serializer subclasses ( #4764 )
...
* Add test for disabling declared fields on child
* Check that declared base field is not in attrs
* Update meta inheritance docs to include serializer
* Test that meta fields cannot be declared as None
* Add docs example for declarative field disabling
2017-01-03 21:14:19 +00:00
robert
492444eb2e
added drf-flexfields addon info
2017-01-02 17:03:03 -06:00
Emmanuelle Delescolle
d98a0772d0
Add DRF-Base64 to third-party serializers
...
Add DRF-Base64, which provides serializers to handle base64-encoded files, to third-party serializers packages
2016-12-31 08:16:45 +01:00
Xavier Ordoquy
22578525ef
Documentation update ( #4717 )
2016-11-30 12:58:34 +00:00
Danilo Bargen
1b882f7281
Add drf-dynamic-fields to third party packages ( #4530 )
2016-09-30 17:06:36 +01:00
Jeff Willette
a68b37d8bc
Update to correct location of reverse relation doc ( #4481 )
2016-09-13 09:31:48 +01:00