Commit Graph

1027 Commits

Author SHA1 Message Date
Tom Christie
6af61a19b7 Added @matteosuppo for work on #865. Thanks! 2013-05-18 18:07:43 +02: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
3ba43b960e Added @andymckay for refactoring #860 2013-05-18 16:19:05 +02:00
Tom Christie
794413734f Merge branch 'master' of https://github.com/mmcardle/django-rest-framework into styling-fixes 2013-05-18 14:50:49 +01:00
Tom Christie
2e8ff4473b Tweak docs 2013-05-18 14:47:39 +01:00
Tom Christie
c8dc5b691b Merge pull request #856 from grimborg/http_debug_error_page_doc
added comment about error behavior with DEBUG=True
2013-05-18 06:45:59 -07:00
Tom Christie
304c07681d Merge 2013-05-18 14:45:06 +01:00
Ryan Kaskel
0b84c5a0ac Merge latest changes from master. 2013-05-18 14:04:27 +01:00
Tom Christie
275bfa2320 Added @grimborg and @ryankask. Go Team. :) 2013-05-18 14:03:08 +01:00
Oscar Vilaplana
4dbf2d907f added comment about error behavior with DEBUG=True 2013-05-18 14:55:55 +02:00
Mark McArdle
72bc5a3556 documentation for https://github.com/tomchristie/django-rest-framework/issues/775 2013-05-18 13:19:13 +01:00
Ryan Kaskel
770ed3de2e ToMany fields default to read-only if targeting ManyToManyField. 2013-05-18 13:11:40 +01:00
Tom Christie
a0e3c44c99 Added @craigds, @pyriku, @brianz - Yay for sprints! 2013-05-18 13:40:20 +02:00
Johannes
df11198c6c Fix typo + grammar in viewsets docs 2013-05-17 12:27:48 +02:00
Tom Christie
f1fb434e6d Update release-notes.md 2013-05-16 19:59:33 +02:00
Tom Christie
bc3dfca5e3 Added @rouge8 for bugfix #844. Thank you! 2013-05-16 19:58:17 +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
0e81ffced2 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2013-05-16 15:25:04 +01:00
Tom Christie
aff88d15f7 Version 2.3.3 2013-05-16 15:08:12 +01:00
Xavier Ordoquy
66aa2f7a16 Small typo in the ViewSet example. 2013-05-16 09:47:22 +02:00
Tom Christie
599c0eb0db Added @jsummerfield for cleanups in #824. Thanks! 2013-05-14 19:38:41 +02:00
Tom Christie
d199a89c18 Merge branch 'master' of https://github.com/tomchristie/django-rest-framework 2013-05-14 11:40:43 +01:00
Tom Christie
6487fa535b Added @avinash240 for bugfix #822 2013-05-14 11:39:30 +01:00
Tom Christie
727a64f3b9 Updated release notes 2013-05-14 11:38:55 +01: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
1154d873e9 Added django-viewsets to credits. Refs #738. 2013-05-13 13:35:16 +02: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
Tom Christie
fd84cf7f10 Docs tweaks 2013-05-10 21:56:33 +01:00
Tom Christie
2e3032ff8c Added @hamishcampbell for docs fix #818. Thanks! 2013-05-10 14:14:42 +02: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
Tom Christie
4ab7b8f257 Version 2.3.2 2013-05-08 20:49:49 +01: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
2379014f15 Add rails in credits section 2013-05-08 20:08:35 +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
42ba5b425b Added @dhepper for typo fixes in #812. 2013-05-08 10:02:52 +02:00
Daniel Hepper
70b8e5b759 Fixed typos in tutorial 2013-05-07 19:16:03 +02:00
Tom Christie
a758066c03 Added @eyepulp for fix #810 2013-05-07 17:25:51 +01:00
Tom Christie
a8e090df04 Remove accidental conflict diff 2013-05-07 17:14:25 +01:00
Tom Christie
d7c08222f1 Fix breadcrumb rendering issue 2013-05-07 14:11:48 +01:00
Tom Christie
ed2cf180c9 Version 2.3.0 2013-05-07 13:29:38 +01: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
0f00da848d Tweak 2.3 release notes 2013-05-07 13:07:42 +01: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
2d44dc3f54 Update release notes 2013-05-02 12:46:10 +01: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
ddbbe7844b Document lookup_field in release notes 2013-05-01 09:10:49 +01: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
7eba12fd28 More index docs tweaks 2013-04-30 14:34:42 +01:00
Tom Christie
b65b065375 Add DjangoModelPermissionsOrAnonReadOnly 2013-04-30 14:34:28 +01:00
Tom Christie
455d7cca1e More tweaking of index/readme 2013-04-30 09:38:04 +01:00
Tom Christie
ac766346a4 Docs tweaks 2013-04-30 08:33:33 +01:00
Tom Christie
21ae3a6691 Drop out attribute 2013-04-30 08:24:33 +01:00
Tom Christie
81c3b4f250 Updated release notes 2013-04-29 17:32:32 +01:00
Tom Christie
0c1ab584d3 Tweaks for preferring .queryset over .model 2013-04-29 14:08:38 +01:00
Tom Christie
53f9d4a380 fields shortcut on views 2013-04-29 13:20:15 +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
70831ad0bb Docs tweaks 2013-04-29 12:08:21 +01:00
Tom Christie
5d357a9b08 Added @chenjyw for depth bugfix #802. Thanks! 2013-04-29 10:28:51 +02: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
b14b584989 Remove 2.0 migration guide which was never included 2013-04-25 12:48:01 +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
Tom Christie
eaac152940 Added @forgingdestiny for login template work.
Thanks!  (Refs: #794)
2013-04-17 23:19:16 +02:00
Tom Christie
eb58596b89 Update release-notes.md 2013-04-17 23:17:08 +02:00
Matt Majewski
f7fdcd55e4 Update browsable-api.md
Add login template docs
2013-04-17 12:27:48 -03:00
Tom Christie
ea55143a23 Version 2.2.7 2013-04-17 09:07:20 +01:00
Tom Christie
37fe0bf0de Remove unneccessary tests from #789, and bit of cleanup. 2013-04-17 09:03:24 +01:00
Stephan Groß
15f4013859 Remove rebase docs 2013-04-15 13:06:22 +02:00
Stephan Groß
8b44599aba Update release notes 2013-04-15 13:04:36 +02:00
Stephan Groß
ad436d966f Add DecimalField support 2013-04-15 13:02:18 +02:00
Stephan Groß
1b5382c146 Add DecimalField support 2013-04-15 12:40: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
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
c2280e34ec Version 2.2.6 2013-04-04 21:53:15 +01:00
Tom Christie
ad9aa23198 Use consistent header style in tutorial part 5 2013-04-04 21:51:41 +01:00
Tom Christie
fb41d2ac8f Add support for action and link routing 2013-04-04 20:35:40 +01:00
Tom Christie
c785628300 Fleshing out viewsets/routers 2013-04-04 20:00:44 +01:00
glic3rinu
77ac204429 Rephrased break_long_headers release notes line 2013-04-04 14:07:56 +02:00
glic3rinu
e8978eaf68 Added break_long_headers on the release notes 2013-04-04 14:02:20 +02:00
Tom Christie
df30b345b1 Update release-notes.md 2013-04-03 13:58:42 +02:00
Tom Christie
cd94cfc441 Added @preed for bugfix #772. Thanks! 2013-04-03 13:55:58 +02:00
Tom Christie
c39ef12de0 Update release-notes.md 2013-04-03 13:53:18 +02:00
Tom Christie
afd64dc51a Added @atlefren for bugfix in #776 2013-04-03 13:50:26 +02:00
Tom Christie
7d7c03eb24 Added @vshih for docs fixes in #769. Thanks! 2013-04-01 17:09:36 +02: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
97aa023916 Updating tutorial 2013-03-30 17:22:52 +00:00
Tom Christie
e9092e1420 Initial API documentation 2013-03-30 16:54:22 +00:00
Tom Christie
b4945f476c Merge branch 'master' into resources-routers 2013-03-30 15:41:38 +00: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
c4eda3a653 Tweak strapline 2013-03-30 15:39:25 +00:00
Tom Christie
2e06f5c832 Fix typo 2013-03-29 17:26:58 +00:00
Tom Christie
89f3c1f8c4 Update release-notes.md 2013-03-29 13:44:50 +00:00
Tom Christie
ea33511260 Change strapline 2013-03-28 16:02:20 +00:00
Tom Christie
69cbafc64f Add search and next/prev 2013-03-28 15:58:53 +00:00
Tom Christie
d243538547 Note on using curl with token auth 2013-03-28 14:54:42 +00:00
Tom Christie
fb105d138c Minor tweak 2013-03-28 14:54:25 +00:00
Fernando Rocha
b2cea84fae Complete remove of client checks from oauth2
Signed-off-by: Fernando Rocha <fernandogrd@gmail.com>
2013-03-27 19:00:36 -03:00
Tom Christie
92c929094c Version 2.2.5 2013-03-26 07:48:53 +00:00
Tom Christie
8387cb5d16 Docs fix 2013-03-25 20:28:17 +00:00
Tom Christie
7eefcf7e53 Bulk update, allow_add_remove flag 2013-03-25 20:26:34 +00:00
Tom Christie
dca24cd914 Added @stoneg for typo fix #754. Thank you! 2013-03-25 16:44:36 +00:00
Sitong Peng
dab158e1fd Tiny typo 2013-03-25 09:27:12 -07:00
Tom Christie
624ce250cd Updating contribution docs (still wip) 2013-03-22 22:06:38 +00:00
Tom Christie
870d5c7d78 Merge pull request #744 from tomchristie/basic-bulk-edit
Basic bulk create and bulk update
2013-03-22 14:47:29 -07:00
Tom Christie
9a2ba4bf54 Update release notes 2013-03-22 21:37:51 +00:00
Tom Christie
13794baf70 Bit of extra tidying and plenty of docs 2013-03-22 17:01:06 +00:00
Tom Christie
8adde506e8 Default date/time fields now return python date/time objects again by default 2013-03-21 08:41:54 +00:00
Tom Christie
b2dc664485 Basic bulk create and bulk update 2013-03-19 14:26:48 +00:00
Tom Christie
74fb366c59 Merge branch 'master' into resources-routers 2013-03-18 21:03:05 +00:00
Tom Christie
034c4ce408 Fix serializer restore_object example for partial updates 2013-03-17 20:06:38 +00:00
Tom Christie
ef0caf64d3 Extra note on method 2013-03-17 19:59:13 +00:00
Tom Christie
e80d3d1bdf Fix text regarding serializer error messages.
Closes #734.
2013-03-17 19:51:04 +00:00
Tom Christie
22a389d0ba Better titles & descriptions 2013-03-15 13:41:22 +00:00
Tom Christie
da76bd7047 Tweak text. 2013-03-13 20:56:16 +00:00
Tom Christie
08bc203f90 Docs tweaks. 2013-03-13 20:53:39 +00:00
Tom Christie
acc8c1faa4 force_insert, force_update arguments. Closes #484.
Confirmed by `assertNumQueries(…)` in tests.
2013-03-13 20:40:39 +00:00
Tom Christie
a53596ce28 Docs for TokenHasReadWriteScope 2013-03-13 13:13:30 +00:00
Tom Christie
4b68089d44 Version 2.2.4 2013-03-13 13:07:46 +00:00
Tom Christie
a798a5350a Fix duplicated database queries for paginated lists.
Closes #713.
2013-03-13 11:42:12 +00:00
Tom Christie
1aecd71eb4 Added @kuhnza for work on #695. Thanks! 2013-03-12 20:52:04 +00:00
Tom Christie
208407d569 Update release notes. 2013-03-12 20:49:44 +00:00
Tom Christie
377dc2cda2 Only honor X-HTTP-Method-Override for POST requests. 2013-03-12 20:49:20 +00:00
Tom Christie
716d86863f Merge pull request #695 from kuhnza/master
Support for X-HTTP-Method-Override Header
2013-03-12 13:40:48 -07:00
Tom Christie
a574dc7f85 Update release notes 2013-03-12 20:12:22 +00:00
Tom Christie
e8db504a98 Merge master 2013-03-12 18:49:38 +00:00
Dave Kuhn
2bcb8ff12c Documentation for X-HTTP-Method-Override 2013-03-12 13:48:40 +11:00
Tom Christie
2088023293 Update release notes 2013-03-10 20:39:04 +00:00
Tom Christie
0df008dc83 Added @bouke for bug fix #722. Thanks! 2013-03-10 20:37:15 +00:00
Tom Christie
a34f45b06e Docs polishing. 2013-03-09 00:31:19 +00:00
Tom Christie
2c6c5d966e Update release notes. 2013-03-08 23:49:27 +00:00
Tom Christie
69d169f5f6 Neater override hooks and more docs for DjangoModelPermissions.
Refs #702.
2013-03-08 23:42:20 +00:00
Tom Christie
5e993f3929 Merge 2013-03-08 23:00:23 +00:00
Tom Christie
6c1fcc855a Update release notes 2013-03-08 22:46:37 +00:00
Tom Christie
0b6267d8cd Added @bitmonkey. Thanks!
For work on handling errors when deserializing lists of objects.
2013-03-08 22:28:59 +00:00
Tom Christie
53b58a5059 Merge branch 'master' of https://github.com/bitmonkey/django-rest-framework into list-deserialization 2013-03-08 21:20:52 +00:00
Tom Christie
c5b98f0d10 authtoken abstract if not installed.
Fixes #705.
2013-03-08 20:56:30 +00:00
Tom Christie
4d48de631b Docs on per-object filtering 2013-03-08 20:41:00 +00:00
Tom Christie
1016c14a8a Added @dulaccc.
For the awesome OAuth 2 support in #693.
2013-03-08 20:26:10 +00:00
Ian Dash
66605acaf0 Errors during deserializing lists now return a list of tuples with
index of bad item in data plus usual errors dict
2013-03-08 15:08:05 +00:00
Tom Christie
e42e49852d Tweak docs 2013-03-07 19:49:36 +00:00
Tom Christie
c2eb27629c Update docs for OAuth 2.0 2013-03-07 17:50:48 +00:00
Tom Christie
a4b33992a5 Merge OAuth2 work. 2013-03-07 17:43:13 +00:00
Tom Christie
4e80541824 Version 2.2.3 2013-03-07 09:05:13 +00:00
Tom Christie
d4e3610e71 Merge & clean OAuth support 2013-03-07 09:01:53 +00:00
Pierre Dulac
30e3775b8b Update the documentation
with a warning for incompatibility with Python 3
and taking @tomchristie advice into account on how to reformulate some
sentences
2013-03-06 19:16:57 +01:00
Tom Christie
ddd7125a63 Tweak travis badge positioning. 2013-03-06 13:35:04 +00:00
Tom Christie
cdf7c778d8 Version 2.2.2 2013-03-06 12:29:56 +00:00
Tom Christie
6135df56c6 Merge pull request #703 from tomchristie/datetime-formats
Datetime formats
2013-03-06 04:25:35 -08:00
Tom Christie
d260f1ec15 Add tox note. 2013-03-06 12:19:49 +00:00
Tom Christie
1106596c80 Clean ups to datetime formatting 2013-03-06 12:19:39 +00:00
Tom Christie
4f7b028a0a Updating docs 2013-03-05 20:57:35 +00:00
Tom Christie
c20ebe95f6 Merge datetime formats 2013-03-05 17:50:28 +00:00
Stephan Groß
17e0ff0fcd Add @iekadou for #700 support. thanks! 2013-03-05 18:45:09 +01:00
Stephan Groß
7464def4e3 Fix typo 2013-03-05 18:42:31 +01:00
Tom Christie
6e7ddd579b Docs tweak. 2013-03-05 17:39:34 +00:00
Tom Christie
6c2dbf1220 Minor docs tweak 2013-03-05 14:03:28 +00:00
Stephan Groß
7db2332c40 Update release docs 2013-03-04 14:11:05 +01:00
Stephan Groß
b4c9b68c96 Add note for using authtoken with custom django user model and south 2013-03-04 14:09:59 +01:00
Stephan Groß
d6391359f5 Fix fix migrate authtoken 2013-03-04 14:04:03 +01:00
Stephan Groß
4cdb6b2959 Fix authtoken migration 2013-03-04 13:53:39 +01:00
Stephan Groß
4a2788a7be Update docs 2013-03-01 16:50:18 +01:00
Stephan Groß
a9d36d4726 Add docs update - part 1 2013-03-01 16:50:18 +01:00
Stephan Groß
9157db5da0 Add better date / datetime validation (pull 2)
addition to #631 with update to master + timefield support
2013-03-01 16:48:20 +01:00
Pierre Dulac
653fcf7e33 Use the correct doc link style 2013-03-01 12:02:03 +01:00
Pierre Dulac
aed3c13471 Merge branch 'master' into oauth2-authentication
Conflicts:
	rest_framework/tests/authentication.py
2013-03-01 11:50:11 +01:00
Pierre Dulac
d8f455bc0f Add OAuth2Authentication documentation 2013-03-01 02:09:52 +01:00
Tom Christie
282af6057f Release notes 2013-02-28 18:02:10 +00:00
Tom Christie
13b3af0d22 Auth is no longer lazy. Closes #667.
More consistent auth failure behavior.
2013-02-28 17:58:58 +00:00
Tom Christie
27aa2d6aad Use plularized URLs for better consistency.
Closes #684.
2013-02-27 22:13:34 +00:00
swistakm
2eabc5c2b4 rfc5849 link with anchor 2013-02-27 11:02:50 +01:00