Brett Koonce
da9c17067c
minor sp
2013-08-29 09:23:34 -05:00
Andrey Antukh
2d37952e78
Add composed-permissions entry to the api-guide.
2013-08-29 00:52:07 +02:00
Tom Christie
97b52156cc
Added .cache
attribute on throttles.
...
Closes #1066 . More localised than a new settings key, and more
flexible in that different throttles can use different behavior.
Thanks to @chicheng for the report! :)
2013-08-28 13:34:14 +01:00
Tom Christie
848567a0cd
Docs for MAX_PAGINATE_BY
setting & view attribute.
2013-08-28 12:55:49 +01:00
Tom Christie
ea6eee304c
Note 'request.session' as available on requests.
2013-08-27 12:37:55 +01:00
Kristian Øllegaard
afee470aca
More information on how actions are mapped to URLs in viewsets
2013-08-26 11:02:01 +02:00
Tom Christie
53d60543c3
Add warning against HTMLFormRenderer
2013-08-25 20:31:04 +01:00
Tom Christie
c7847ebc45
Docs for HTMLFormRenderer
2013-08-23 17:10:50 +01:00
Tom Christie
c77e4a2c59
Merge branch 'master' into html-form-renderer
2013-08-23 16:46:14 +01:00
Tom Christie
436e66a42d
JSON responses should not include a charset
2013-08-23 16:45:55 +01:00
Tom Christie
b72a99fef2
Merge branch 'display-nested-data' into html-form-renderer
2013-08-23 14:39:52 +01:00
Tom Christie
dba6027813
Add missing period.
2013-08-23 11:27:12 +01:00
Ramiro Morales
ec5955101b
Update parsers.md
...
s/renderers/parsers/
2013-08-22 12:40:12 -03:00
Tom Christie
cf6ae397db
Docs tweaking around check_object_permissions
2013-08-21 19:57:30 +01:00
Tom Christie
d900847d98
Merge pull request #1050 from filipeximenes/master
...
Improving documentation about object level permissions #1049
2013-08-21 11:52:45 -07: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
Filipe Ximenes
1bf7123415
improving documentation about object level permissions #1049
2013-08-20 16:24:13 -03:00
Tom Christie
5120670624
Document customizable view names/descriptions
2013-08-19 08:45:53 +01:00
Tom Christie
13ca305b06
Tweak docs.
2013-08-16 13:27:21 +01:00
Veronica Lynn
4d8d2340be
Fixed typos in a bunch of docs
2013-08-07 14:00:06 -04:00
James Summerfield
4ff1dc6a11
Fixing typos in routers.md
2013-08-03 10:23:39 +01:00
Ricky Rosario
3802442c89
Add missing comma to generic view example.
2013-08-01 17:02:16 -04:00
Stephan Groß
e612103991
Fix typo
2013-07-31 20:25:28 +02:00
Stephan Groß
294d957361
Add drf-any-permission docs entry
2013-07-31 20:14:49 +02:00
James Rutherford
195b1af7ba
Minor typo fix
2013-07-29 10:16:51 +01:00
James Rutherford
1a4ff1567e
Updated authtoken docs to mention south migrations
2013-07-29 10:16:15 +01:00
Tom Christie
856dc855c9
Notes on customizing BrowsableAPIRenderer. Refs #1001
2013-07-29 09:21:20 +01:00
Tom Christie
6a6b2c9318
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-07-29 09:11:29 +01:00
Tom Christie
5c4bf5309d
Docs about migrations and post_save
.
...
Documentation detailing requirement to migrate prior to running `createsuperuser` if using an authtoken `post_save` signal.
Closes #987 . Thanks to @yprez.
2013-07-29 09:08:35 +01:00
Will Kahn-Greene
3fbb4097e6
Fix *Throttle class names in the docs
...
* AnonThrottle -> AnonRateThrottle
* UserThrottle -> UserRateThrottle
* ScopedThrottle -> ScopedRateThrottle
* (cosmetic) removed one errant whitespace character
Fixes #1006 .
2013-07-25 12:56:47 -04:00
Eric Buehl
b676cce61f
pedantic doc updates
2013-07-18 19:03:38 -07:00
Tom Christie
3eaad89c16
Docs fix
2013-07-15 21:23:34 +01:00
Tom Christie
ce5e8f8946
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-07-15 11:39:24 +01:00
Tom Christie
ae63c49777
Added test case classes
2013-07-15 11:38:38 +01:00
Mark Aaron Shirley
b5dc6b6113
Fix docs typo
2013-07-14 18:18:39 -07:00
Mark Aaron Shirley
7815811fe3
Update nested serialization docs
2013-07-14 18:13:37 -07:00
Yuri Prezument
77dd334026
Fix Mixin class name in viewsets docs example
2013-07-14 19:16:56 +03:00
Tom Christie
6de9b7c8ca
Add note on ModelSerializer validation of both model fields and serializer fields. Refs #949
2013-07-11 21:02:47 +01:00
Tom Christie
edc3585652
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-07-10 21:12:27 +01:00
Matthias Jacob
453b7b03dd
Fix broken links in views doc
2013-07-10 19:02:38 +02:00
Tom Christie
045ad73f69
Fixing up content negotiation docs
2013-07-10 14:32:10 +01:00
Tom Christie
99794773cf
Merge pull request #962 from tomchristie/test-client
...
APIClient and APIRequestFactory
2013-07-04 05:50:04 -07:00
Tom Christie
a890116ab3
Minor docs addition
2013-07-04 13:49:28 +01:00
Tom Christie
b88bdfb9a5
Add section on dynamically modifying fields. Refs #958
2013-07-04 13:30:56 +01:00
Tom Christie
7398464b39
Tweak docs
2013-07-03 13:08:43 +01:00
Tom Christie
6d1c474618
Minor tidying
2013-07-02 22:29:38 +01:00
Tom Christie
efafa617a8
Merge pull request #956 from omouse/update-router-docs
...
#955 updated documentation for overriding `routes` attribute in Router sub-classes
2013-07-02 14:06:22 -07:00
Rudolf Olah
e460180a4d
#955 updated router docs with more information on the Route
named tuple and its parameters.
2013-07-02 13:20:25 -04:00
Tom Christie
e7529b4072
Fix broken link by hacking around md->html translating
2013-07-02 16:22:22 +01:00
Tom Christie
8d410c4671
Tweak text
2013-07-01 17:32:06 +01:00
Tom Christie
8274ff7d9c
Capitalization on OAuth
2013-07-01 17:27:23 +01:00
Tom Christie
53dc98eefb
Added Django OAuth2 Consumer package
2013-07-01 17:22:42 +01:00
Tom Christie
5427d90fa4
Remove console style from code blocks
2013-07-01 17:22:11 +01:00
Tom Christie
0a722de171
Complete testing docs
2013-07-01 13:59:05 +01:00
Tom Christie
d31d7c1867
First pass at testing docs
2013-06-29 22:53:27 +01:00
Tom Christie
58d38d694e
Merge branch 'master' into writable-nested-modelserializer
2013-06-28 09:07:09 +01:00
Rudolf Olah
f5f23793e3
#955 updated documentation for overriding routes
attribute in Router sub-classes
2013-06-27 16:30:24 -04:00
Tom Christie
13a3c993ab
Fix incorrect example
2013-06-26 11:30:27 +01:00
Tom Christie
8d83ff8e6c
Add decorator brackets back. Refs #941
2013-06-21 23:12:16 +01:00
Tom Christie
8cc63b09f6
Add support for StreamingHttpResponse. Closes #939
2013-06-21 22:42:04 +01:00
Tom Christie
a68f473dd8
Brackets not required on decorator without arguments
2013-06-21 23:25:14 +02:00
Tom Christie
8b0d4115c6
Merge pull request #941 from FreakyDug/master
...
Fixed a couple of small problems I found when using the action decorator.
2013-06-21 14:23:40 -07:00
Tom Christie
2d5f7f201f
Update router docs on base_name. Refs #933 .
2013-06-21 22:19:14 +01:00
Philip Douglas
f3529f1f4a
Correct docs' incorrect usage of action decorator
...
If you don't call it, it doesn't work.
2013-06-21 16:26:28 +01:00
Tom Christie
aa706f581c
Add Django OAuth Toolkit to docs
2013-06-17 09:27:12 +01:00
Toby Champion
250dfef158
Changes 'python' to 'Python' when used in prose.
2013-06-12 14:51:17 -07:00
Tom Christie
5d0aeef69e
Better docs related to lookup_field and hyperlinked serializers. Closes #920 .
2013-06-10 17:46:55 +01:00
Ryan Kaskel
e483c4fed6
Remove pass statement before docstring.
2013-06-07 10:07:42 +01:00
Tom Christie
4b96614b12
Merge pull request #914 from gnunamed/master
...
Fix typos
2013-06-06 00:57:13 -07:00
Tom Christie
40e09472d8
Never deepcopy validators. Closes #913
2013-06-06 08:56:39 +01:00
gnunamed
fdb689f9b5
Update serializers.md
2013-06-05 13:53:00 -05:00
Tom Christie
de00ec95c3
Merge master
2013-06-05 13:33:19 +01:00
Tom Christie
f1251e8c58
Added trailing_slash argument to routers. Closes #905
2013-06-04 20:59:12 +01:00
Tom Christie
ffa27b840f
Fix ModelField docs. Closes #909 .
2013-06-04 20:23:16 +01:00
Tom Christie
6e0567c271
request.user should be still be accessible in renderer context if authentication fails
2013-06-03 12:32:57 +01:00
Tom Christie
27d8b848bc
Add notes on 'method' argument to '@action' decorator
2013-06-02 20:40:56 +01:00
Tom Christie
b15a6ccef2
Serializer field 'default' argument may be a callable
2013-06-02 20:12:49 +01:00
Craig Teegarden
9154b09eb9
fix typo
2013-05-31 18:02:47 -04:00
Stephan Groß
7a570e16e9
Fix md formatting and typos
2013-05-28 17:13:12 +02:00
Pascal Borreli
8f35ac4f93
Fixed typos
2013-05-28 15:09:23 +01:00
Sebastien Beal
b0201bcfbf
Fix doc typo in UserViewSet example
2013-05-26 11:52:45 +09:00
Tom Christie
78c53d530f
Updating docs
2013-05-24 21:08:27 +01:00
Tom Christie
7a93fdbe0a
Last bits of charset sorting-out-ness
2013-05-22 16:46:15 +01:00
Tom Christie
0e80a535fb
Tweak nav style slightly
2013-05-21 17:45:25 +01:00
Tom Christie
ac99b81497
Note usage of django-filter 0.5.4 for Django 1.3 support. Closes #877
2013-05-21 12:05:44 +01:00
Tom Christie
aef7ac72cc
content type may be set explicitly on the response
2013-05-20 21:18:17 +01:00
Tom Christie
f19e0d544f
Fix charset issues
2013-05-20 21:00:56 +01:00
Neamar
4c85829cb7
Legacy parameter order
2013-05-20 10:48:07 +03:00
Neamar
42a8fe8995
Corrected docs (authentication instead of filtering)
2013-05-20 10:42:10 +03:00
Pablo Recio
71e29644a2
Adds new renderer into the documentation
2013-05-18 17:06:54 +02:00
Tom Christie
e1a3cab400
Merge pull request #854 from ryankask/issue-775
...
All relations pointing to ManyToManyFields should default to read-only
2013-05-18 07:22:22 -07:00
Tom Christie
2e8ff4473b
Tweak docs
2013-05-18 14:47:39 +01:00
Oscar Vilaplana
4dbf2d907f
added comment about error behavior with DEBUG=True
2013-05-18 14:55:55 +02:00
Ryan Kaskel
770ed3de2e
ToMany fields default to read-only if targeting ManyToManyField.
2013-05-18 13:11:40 +01:00
Johannes
df11198c6c
Fix typo + grammar in viewsets docs
2013-05-17 12:27:48 +02:00
Andy Freeland
abe207b869
HyperlinkedIdentityField uses lookup_field
kwarg.
...
According to the [Serializers API Guide][1], `HyperlinkedIdentityField`
takes `lookup_field` as a kwarg like the other related fields and the
generic views. However, this was not actually implemented.
[1]: http://django-rest-framework.org/api-guide/serializers.html#hyperlinkedmodelserializer
2013-05-16 11:48:35 -04:00
Tom Christie
2cff6e69db
Added OrderingFilter
2013-05-14 11:27:08 +01:00
Tom Christie
6a037f63ed
Added OrderingFilter
2013-05-14 11:27:03 +01:00
Tom Christie
aa0dcd2e4a
More docs on SearchFilter
2013-05-14 10:16:00 +01:00
Tom Christie
f9aeb68383
Updated release notes
2013-05-14 09:59:29 +01:00
Tom Christie
260a8125c5
Improve custom filtering example
2013-05-10 22:56:23 +01:00
Tom Christie
293dc3e6d8
Added SearchFilter
2013-05-10 22:33:11 +01:00
Hamish Campbell
5c8356d51d
Fix minor code error in Generic Views documentation - missing if
statement.
2013-05-10 13:28:50 +12:00
Tom Christie
31f94ab409
Added GenericViewSet and docs tweaking
2013-05-09 13:31:42 +01:00
Tom Christie
f2466418dd
Tweak doc text slightly
2013-05-09 13:14:20 +01:00
Tom Christie
3737e17d7c
Added 'Customizing the generic views' section. Closes #816
2013-05-09 13:10:45 +01:00
Mark Aaron Shirley
e550740b3d
Merge remote-tracking branch 'upstream/master' into writable-nested-modelserializer
...
Conflicts:
rest_framework/tests/relations_nested.py
2013-05-08 22:39:48 -07:00
Tom Christie
b443560080
Fix DATETIME_FORMAT, DATE_FORMAT, TIME_FORMAT settings. Closes #798
2013-05-08 20:38:50 +01:00
Tom Christie
9d59e55cec
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-05-08 20:09:03 +01:00
Tom Christie
429e078eee
Allow None filename on uploaded files
2013-05-08 20:07:51 +01:00
Tom Christie
673a7a496f
Update generic-views.md
2013-05-08 10:17:27 +02:00
Tom Christie
3353889ae8
Docs for FileUploadParser
2013-05-07 13:27:27 +01:00
Tom Christie
642970a1b8
Merge pull request #806 from wronglink/master
...
Added FileUploadParser
2013-05-07 05:09:09 -07:00
Tom Christie
3c2bb06660
Support for multiple filter classes
2013-05-07 13:00:44 +01:00
Tom Christie
d71a5533f9
allow_empty -> pending deprecation in preference of overridden get_queryset.
2013-05-07 12:25:41 +01:00
Tom Christie
b70c9cc107
Merge master
2013-05-05 18:12:35 +01:00
Tom Christie
2dfd8c9697
docs, docs, docs
2013-05-05 16:48:12 +01:00
Michael Elovskikh
5faaba9c69
Docs for FileUploadParser
2013-05-04 18:04:48 +06:00
Tom Christie
74beaefd12
Simplifying bits of docs
2013-05-02 12:08:05 +01:00
Victor Shih
8cabae22c5
Example and spelling fixes. Change "browseable" to "browsable" for consistency.
2013-05-01 21:26:40 -07:00
Tom Christie
35f99cddc4
lookup_field on hyperlinked fields, and overriddable hyperlinked fields. Closes #688
2013-05-01 09:03:09 +01:00
Tom Christie
22af28d146
Merge master
2013-04-30 19:32:34 +01:00
Tom Christie
b65b065375
Add DjangoModelPermissionsOrAnonReadOnly
2013-04-30 14:34:28 +01:00
Tom Christie
21ae3a6691
Drop out attribute
2013-04-30 08:24:33 +01:00
Tom Christie
d17e2d852f
Remove AutoRouter. (Adding shortcut to generic views/viewsets means it's unneccessary)
2013-04-29 12:46:57 +01:00
Tom Christie
33a26a76f1
Typo
2013-04-27 16:35:42 +02:00
Tom Christie
73019f91fe
Update docs on object-level permissions.
...
Closes #801 .
2013-04-27 14:29:32 +02:00
Tom Christie
8fa79a7fd3
Deal with List/Instance suffixes for viewsets
2013-04-26 14:59:21 +01:00
Tom Christie
e301e2d974
Adding 'view or viewset' to docs appropriate.
2013-04-26 14:03:26 +01:00
Tom Christie
d985aec3c9
DecimalField
2013-04-26 13:59:06 +01:00
Tom Christie
50c6bc5762
Fix up viewset docs slightly
2013-04-26 13:31:19 +01:00
Tom Christie
51f80c3604
Fix broken queryset in example
2013-04-26 10:23:05 +01:00
Tom Christie
74b3307978
Docs, docs, docs
2013-04-25 20:43:37 +01:00
Tom Christie
9abaf77401
More viewset/router docs
2013-04-25 17:39:33 +01:00
Tom Christie
95abe6e844
Cleanup docstrings
2013-04-25 12:47:34 +01:00
Tom Christie
b94da2468c
Various clean up and lots of docs
2013-04-24 22:40:24 +01:00
Tom Christie
835d3f89d3
Merge remove-django-generics
2013-04-23 11:59:13 +01:00
Mark Aaron Shirley
c7e000e46e
Merge remote-tracking branch 'upstream/master' into writable-nested-modelserializer
...
Conflicts:
docs/api-guide/serializers.md
2013-04-16 09:55:47 -07:00
Stephan Groß
ad436d966f
Add DecimalField support
2013-04-15 13:02:18 +02:00
Tom Christie
d75cebf756
Remove router bit from viewset docs
2013-04-11 15:48:41 +01:00
Victor Shih
b73dfb9cc1
Remove redundant text.
2013-04-11 01:48:25 -07:00
Mark Aaron Shirley
bda25479aa
Update docs with allow_add_remove
2013-04-10 08:44:54 -07:00
Tom Christie
027792c981
Viewsets and routers in seperate docs
2013-04-09 11:54:51 +01:00
Tom Christie
371698331c
Tweaks
2013-04-04 22:24:30 +01:00
Tom Christie
c785628300
Fleshing out viewsets/routers
2013-04-04 20:00:44 +01:00
Tom Christie
64bcbb34d4
Merge pull request #769 from vshih/master
...
Spelling/grammar fixes.
2013-03-31 05:34:13 -07:00
Tom Christie
ec076a0078
Add viewsets/routers to indexs etc
2013-03-31 11:36:58 +01:00
Victor Shih
33ce7dfac4
Spelling/grammar fixes.
2013-03-30 20:28:27 -07:00
Tom Christie
399ac70b83
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2013-03-30 15:40:11 +00:00
Tom Christie
d243538547
Note on using curl with token auth
2013-03-28 14:54:42 +00:00