Xavier Ordoquy
cd4c389d1f
Merge pull request #3382 from outime/patch-1
...
Fixed typo in ScopedRateThrottle example views
2015-09-10 10:16:29 +02:00
Xavier Ordoquy
b6b33b567e
Merge pull request #3360 from lubomir/improve-docs-for-default
...
Improve documentation of default argument for fields
2015-09-10 10:15:17 +02:00
Rubén Díaz
671de792e2
Fixed typo in ScopedRateThrottle example views
2015-09-10 10:19:40 +03:00
Tom Christie
7905e9f9f4
Docs tweak
2015-09-03 11:57:11 +01:00
Lubomír Sedlář
a57ad07674
Add link to validators
...
The `set_context` method there is the same as for the default field.
2015-09-03 10:35:28 +02:00
Lubomír Sedlář
1c049edd8c
Improve documentation of default argument for fields
...
The documentation now not only mentions that callables are acceptable
arguments, it also tells the reader what the callable should look like.
2015-09-03 09:46:54 +02:00
Britt Dawn
7c12a988fa
Replacing self.tag with self.tag_name in Generic Relationships documentation.
2015-09-02 09:25:00 -07:00
Miroslav Shubernetskiy
6926c71699
added django-url-filter to 3rd party libraries
2015-08-31 21:23:11 -04:00
Tom Christie
3a0d54c7fb
Fix testing example. Closes #3346
2015-08-28 13:52:18 +01:00
Slava Shklyaev
49d799c454
Fix typo
2015-08-24 21:09:08 +03:00
borzdyko
f0782b9451
Doc for regex search filter
2015-08-21 18:26:23 +03:00
Tom Christie
f4412d0827
Docs for select cutoffs
2015-08-21 10:52:44 +01:00
Joe Simpson
a4af8cc623
Add import to example for filtering
...
`from rest_framework import filters` was missing from one of the examples
2015-08-19 14:44:40 +01:00
Tom Christie
0df99a6c95
Fix erronous request.files docs, and incorrect request.FILES behavior. Closes #3261 .
2015-08-11 16:21:02 +01:00
Tom Christie
e0c93c1780
Tweaking display_value docs
2015-08-10 16:37:55 +01:00
James Beith
eaf61449a8
Explain use case for display_value
in docs
2015-08-10 13:02:07 +01:00
James Beith
66ae19229e
Add docs for display_value
2015-08-10 12:38:27 +01:00
Tom Christie
9a778793f8
Adding imports to docs
2015-08-06 09:56:09 +01:00
wwj718
c099d9aac4
import permission_classes
...
many people don't know how to import permission_classes
2015-08-06 11:08:56 +08:00
Tom Christie
8d7c0a8474
Merge branch 'feature/filepathfield' of https://github.com/Ins1ne/django-rest-framework into Ins1ne-feature/filepathfield
2015-08-03 10:09:46 +01:00
Tom Christie
472784b70a
Docs for custom hyperlinked fields.
2015-08-03 09:27:03 +01:00
Ian Foote
ed55fbe862
Fix custom HyperlinkedRelatedField example
...
Fix `get_object` method signature to match [`HyperlinkedRelatedField.get_object`](https://github.com/tomchristie/django-rest-framework/blob/master/rest_framework/relations.py#L227-L236 ).
2015-07-31 12:59:50 +01:00
David Kaplan
b969e9a872
Update permissions.md
...
Add DRY Rest Permissions info to the permissions page
2015-07-30 10:47:12 -04:00
Tom Christie
1f55bc747b
Merge pull request #2926 from tomchristie/admin-style
...
Admin style renderer
2015-07-30 15:01:37 +01:00
Tom Christie
5c1d6a9200
Docs for AdminRenderer
2015-07-30 14:07:51 +01:00
Tom Christie
75beb6ab2d
Note on ValidationError in perform_create. Closes #2791 .
2015-07-27 13:32:30 +01:00
Adrian Mester
d9c934debd
fixed a typo in docs
2015-07-23 13:10:20 +03:00
Tom Christie
f9c61e8090
Prominent notes on deprecation status of pagination settings. Closes #3173 .
2015-07-22 12:36:32 +01:00
Aider Ibragimov
d845157983
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework into feature/filepathfield
2015-07-18 23:34:07 +03:00
Tom Christie
0ccb148183
Support QueryDict list arguments with ListField. Closes #3155 .
2015-07-16 15:59:15 +01:00
Tom Christie
c940f15901
Internal use warning against HTMLFormRenderer. Closes #2773 .
2015-07-16 15:50:51 +01:00
Tom Christie
0ea64f6b33
More docs on configuring a custom metadata class.
2015-07-16 10:19:27 +01:00
Tom Christie
8d306823b4
Update docs on ALLOWED_VERSIONS and DEFAULT_VERSION. Closes #2778 .
2015-07-14 15:03:33 +01:00
Tom Christie
3c57e08f62
Clarifications to read_only fields. Closes #3064 .
2015-07-14 12:22:51 +01:00
Tom Christie
586c3350d4
Writable Nested Serializer example in relationships docs. Closes #2924 .
2015-07-14 12:10:40 +01:00
Yuri Hernani Heupa
c04c8808c6
Changed typo in Renderer docs
...
The BrowsableAPIRenderer was misspelled with an extra 'e' letter
2015-07-09 22:41:53 -03:00
José Padilla
f161241e07
Fix custom parser example
2015-07-05 16:48:33 -04:00
Matt Broach
9e58bf6500
added link to Django Rest Multiple Models to Third Party Packages
2015-07-02 17:20:41 -04:00
Xavier Ordoquy
b6e46a6483
Update get_serializer
signature
...
- remove the `files` and `allow_add_remove` arguments that were part of the 2.x API.
2015-07-01 00:26:54 +02:00
Alasdair Nicol
061cc5a42b
Fixed #2900 -- Made example validator class in docs inherit from object
2015-06-30 16:33:01 +01:00
Tom Christie
632fc98f77
Fix link headers in examples, as per RFC5988.
2015-06-24 12:57:23 +01:00
Tom Christie
8329411cc3
Merge pull request #2539 from donewell/permission-detail
...
add message to custom permission
2015-06-24 11:32:02 +01:00
José Padilla
83ef64dbf5
Document setting URL_FORMAT_OVERRIDE to None
...
This also hides the format dropdown from the
Browsable API if URL_FORMAT_OVERRIDE is disabled.
Closes #3057
2015-06-23 07:50:44 -04:00
Xavier Ordoquy
8c5fc2a94b
Merge pull request #2732 from pquentin/patch-versioning
...
Document per-view versioning settings
2015-06-19 12:56:24 +02:00
Alexandre Cordeiro
deb2c9eb87
Fixed minor typo on viewsets.md
...
I'm not sure how the contribution policy for the docs is, but I thought it'd be faster to issue a pull request than reaching out to you guys/creating an issue for something so simple. Hope it's not a problem :)
2015-06-16 17:36:11 -03:00
José Padilla
0be6d87fac
Fix versioning urls
2015-06-15 16:51:37 -04:00
Xavier Ordoquy
be9327ad3a
Merge pull request #3025 from linovia/documentation
...
Replace the former `get_filter_backends` by `filter_queryset`.
2015-06-15 22:28:41 +02:00
Thomas Stephenson
a1e0bae9da
Custom serialization of PrimaryKeyRelatedField values
...
Adds a 'pk_field' parameter which can be used to proxy serialization and
deserialization of arbitrary primary key values.
2015-06-15 04:43:49 +10:00
Xavier Ordoquy
c80796ec04
Mention filter_queryset
as an alternative to former get_filter_backends
2015-06-10 23:32:52 +02:00
Nico Mandery
325789db95
set the filter_backends class variable in the DjangoFilterBackend documentation for clearness
2015-06-08 15:18:30 +02:00