Bart
07376f128c
Grammar fix ( #6933 )
2020-01-03 13:36:43 +00:00
Jihoon Park
f3ed69374d
Add missing punctuation marks and URL name ( #7108 )
...
- trailing commas (as both Python and JavaScript allow them)
- trailing semicolons in JavaScript
- URL name `api-docs`
2020-01-03 13:28:35 +00:00
Ran Benita
d985c7cbb9
Remove a few no longer needed compat checks and references ( #7092 )
...
* serializers: removes no longer needed compat checks
UUIDField and DurationField are both supported in all supported Django
versions.
IPAddressField was removed in Django 1.9, which is no longer supported.
* serializers: move related code closer together
This way it's easier to see all of the mappings in one place.
* serializers,docs: remove some DRF 2.x references
The last release of DRF 2.x was 5 years ago, it seems fine to remove
these references now.
2019-12-16 18:59:25 +00:00
Tom Christie
de497a9bf1
Version 3.11 ( #7083 )
...
* Version 3.11
* Added notes on OpenAPI changes for 3.11.
* Minor docs tweaking
* Update package version and supported versions
* Use a lazy import for django.test.client.encode_mutlipart. Closes #7078
2019-12-12 14:31:40 +00:00
Kye Russell
dff9759555
Removed Eric S. Raymond quote from the release notes ( #7073 )
2019-12-04 09:29:01 +00:00
Tom Christie
070cff5a03
Drop set_context()
( #7062 )
...
* Do not persist the context in validators
Fixes encode/django-rest-framework#5760
* Drop set_context() in favour of 'requires_context = True'
2019-12-03 11:16:27 +00:00
Thomas Loiret
adaf97a739
Remove the old reference to JSONResponse
2019-11-20 14:09:49 +01:00
Hendrik
a73d3c309f
Elaborated on nested relationships ( #7051 )
2019-11-18 12:35:36 +00:00
CloudCode Hungary
6196e9c8cd
add djangorestframework-features to third-party ( #7052 )
2019-11-18 12:31:32 +00:00
James
323e1cddda
Cleanup "Documenting your API" 3rd party recommendations ( #7057 )
2019-11-15 18:39:47 -08:00
brantmorton
0d6589cf45
Updated url() with re_path() in Versioning docs. ( #7043 )
2019-11-07 13:20:56 +01:00
Yann Savary
0d3d548aa5
OpenAPI: Fixed generation when title or version not provided. ( #6912 )
2019-11-06 21:54:12 +01:00
Aaron Yong
14d740d088
Update DEFAULT_SCHEMA_CLASSES default value in Settings docs ( #7014 )
...
The default value was changed to point to the OpenAPI AutoSchema class. The docs were leading users to believe that rest_framework.schemas.AutoSchema was the default. As of this commit, the root AutoSchema is in fact imported from the coreapi module.
2019-11-06 21:37:13 +01:00
Erwan Rouchet
5e8fe6edf0
Fix link to Django docs ( #7040 )
2019-11-06 09:34:28 -08:00
Chris Guo
5521eacb02
Update docs imports ( #7030 )
2019-11-01 10:56:59 -07:00
Daniel Hnyk
ab40b80fa6
Remove unmaintained django-rest-framework-bulk from docs ( #7021 )
2019-10-28 03:46:44 -07:00
Chris Guo
5ee970c090
Fix docs typos ( #7015 )
2019-10-24 11:31:12 -07:00
Aaron Yong
4d57cd31f6
Update method override example in Schemas docs ( #6887 ) ( #7013 )
...
get_link() was a method in the old CoreAPI-based AutoSchema implementation. The new OpenAPI one defines get_operation() instead: the example code block was overlooked.
2019-10-24 08:54:37 +02:00
nautikos1235
65ed7be754
Fix markdown code indent in schemas ( #7009 )
2019-10-22 11:10:15 -07:00
Chris Guo
a734e58d44
Fix docs typos ( #7006 )
2019-10-21 15:11:12 -07:00
zach valenta
f98b6f3577
proper Github repo issue already resolved ( #6999 )
...
per the ticket anyway https://github.com/encode/django-rest-framework/issues/2162
2019-10-17 13:58:12 +01: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
David Sanders
9850441e6f
Fix docs typo ( #6974 )
2019-10-08 16:37:58 -07:00
Law Karingithi
0e4811e9ce
Fix minor grammatical errors in docs ( #6979 )
2019-10-08 09:38:14 -07:00
Tom Christie
f9cc190177
Crop width on premium sponsor images
2019-10-07 14:31:16 +01:00
Tom Christie
f36ff9b08b
Add Retool as a new premium sponsor ( #6977 )
2019-10-07 14:21:58 +01:00
Ted Stoychev
60f9c12900
Fixed broken link in documentation ( #6937 )
2019-09-27 09:47:51 -07:00
Yezy Ilomo
5b990d4092
Add django-restql to 3rd party packages in docs ( #6947 )
2019-09-24 00:22:25 -07:00
Oxan van Leeuwen
2664e65019
Add djangorestframework-dataclasses to 3rd party package docs ( #6939 )
2019-09-18 11:21:32 -07:00
napsterv
7a3b7d2001
Fixed method signature in docs ( #6931 )
2019-09-16 10:47:29 -07:00
Tom Christie
89ac0a1c7e
Version 3.10.3 ( #6908 )
...
* Version 3.10.3
* Version 3.10.3 release notes
2019-09-04 14:28:25 +01:00
Pramod Pujara
c0cf37e35d
Update tutorial links ( #6890 )
2019-09-03 11:21:53 -07:00
Yann Savary
e57c1505fc
Replaced 'TODO' hardcoded version info by a parameter with default '0.1.0' ( #6899 )
2019-09-03 16:07:30 +02:00
Greg Schmit
0cc09f0c0d
Add drf-action-sreializer to third party packages ( #6845 )
2019-07-30 12:37:49 -07:00
Ryan P Kilby
bcf196d0ac
Remove outdated note about read_only+default ( #6847 )
2019-07-29 15:10:57 -07:00
Min ho Kim
0e1c5d3132
Fix typos ( #6835 )
2019-07-25 10:04:01 -07:00
Bary Levi
ea2ebf61cb
fix quote was outside of inline code ( #6830 )
2019-07-22 13:02:17 +01:00
linchiwei123
da1c6d4129
Fix indent ( #6825 )
2019-07-18 23:09:04 -07:00
Daniel Alvarez
316526d877
Fixes import in the schemas documentation
2019-07-16 21:32:19 +01:00
Tom Christie
908516f2bd
Fix pagination docs meta information
2019-07-15 20:14:59 +01:00
Tom Christie
6499378fc3
3.10 release notes tweaks
2019-07-15 12:38:28 +01:00
Tom Christie
9eaf49dab9
Version 3.10 ( #6802 )
...
* 3.10 release notes
* Version number -> 3.10
* Update translations
* Update 3.10 release docs
* Update release notes
* Delete symlink
2019-07-15 12:31:09 +01:00
Ryan P Kilby
b26db12813
Update default settings to use lists instead of tuples ( #6799 )
...
* Update default settings from tuples to lists
* Add missing trailing commas
* Use single quotes for consistency
* Update settings lists in docs
2019-07-15 11:54:46 +01:00
Luke Plant
f0dbf0a264
Update docs to use lists instead of tuples ( #6797 )
2019-07-12 18:15:36 -07:00
Carlton Gibson
7915485c0d
Update docs for OpenAPI. ( #6668 )
...
* Update schema docs for OpenAPI
* Begin v3.10 Release Announcement.
* Update docs/topics/documenting-your-api.md
Co-Authored-By: Martin Pajuste <pajusmar@users.noreply.github.com>
* Update docs/topics/documenting-your-api.md
Co-Authored-By: Martin Pajuste <pajusmar@users.noreply.github.com>
* Update docs/topics/documenting-your-api.md
Co-Authored-By: Martin Pajuste <pajusmar@users.noreply.github.com>
* Update docs/topics/documenting-your-api.md
Co-Authored-By: Martin Pajuste <pajusmar@users.noreply.github.com>
2019-07-08 13:09:05 +01:00
Tom Christie
1619d282f7
Update rollbar sponsor URL ( #6791 )
2019-07-08 12:27:21 +01:00
Tom Christie
cc88c8a6f3
Update serializers.md
2019-07-08 11:12:30 +01:00
linchiwei123
372f4fde20
Update pagination.md ( #6787 )
...
it seems like that
2019-07-05 22:30:01 -07:00
cyap
eebc579e9b
Fix typo ( #6785 )
2019-07-05 15:46:51 +01:00
linchiwei123
373195996e
Update fields.md ( #6784 )
...
Example ==> Example
2019-07-05 14:24:52 +01:00