Commit Graph

1957 Commits

Author SHA1 Message Date
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
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ß
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
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
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
Tom Christie
35331f5820 More consistent examples 2013-02-26 19:54:04 +00:00
Tom Christie
e7ca326555 Tweaks 2013-02-26 19:51:09 +00:00
Tom Christie
19135061b6 Merge pull request #681 from dbrgn/format_suffixes_docs
Added function type detail to format suffix docs
2013-02-26 11:49:09 -08:00
Stephan Groß
80b0234793 Add @waa for #687 thanks! 2013-02-26 14:50:10 +01:00
Wiliam Souza
cd7f552540 Fixed a typo WritableField field name in docs 2013-02-26 10:43:33 -03:00
Danilo Bargen
bfdbc95f1a Added CBV example to format-suffixes docs 2013-02-26 10:30:42 +01:00
Danilo Bargen
70db398595 Renamed UserInstance to UserDetail in docs 2013-02-25 21:31:12 +01:00
swistakm
5d9ed34e41 add OAuthAuthentication documentation stub 2013-02-25 17:41:34 +01:00
Tom Christie
8da83f0df9 Added @thedrow for cleanups in #677. Thanks! 2013-02-25 15:15:33 +00:00
Tom Christie
b4b9d3b513 Added @ryanrdetzel for docs fix #674. Thanks! 2013-02-25 13:44:32 +00:00
Ryan Detzel
cd9a192027 method fix for custom authentication 2013-02-23 23:32:47 +01:00
Tom Christie
4599cd97cb Fix curl response.
Didn't map to the correct stage of the tutorial.
2013-02-23 22:13:06 +00:00
Tom Christie
ea7d73f57e Spelling. 2013-02-23 22:07:33 +00:00
Tom Christie
ca8e073e34 TODO -> TODONE 2013-02-23 22:01:29 +00:00
Tom Christie
4a80dff1ef Autenticating with curl example. 2013-02-23 21:52:46 +00:00
Tom Christie
9e2131715a Formatting. 2013-02-23 21:52:26 +00:00
Tom Christie
5b03de8287 Add curl examples. 2013-02-23 21:29:52 +00:00
Tom Christie
41d3fe09cf Add missing blank=True to model in tutorial. 2013-02-23 21:29:13 +00:00
Tom Christie
5432f9ba49 Fill in missing and incorrect settings. 2013-02-23 17:12:45 +00:00
Tom Christie
f729506261 Update release notes 2013-02-23 07:24:36 +00:00
Tom Christie
d62e4a7aa5 Update release notes 2013-02-22 23:00:07 +00:00
Tom Christie
d44eb20942 Version 2.2.1 2013-02-22 20:47:41 +00:00
Tom Christie
b3019d9824 Note requirements explicitly. 2013-02-22 20:46:20 +00:00
Tom Christie
dcee027fa9 defusedxml for security fix.
As per:
http://blog.python.org/2013/02/announcing-defusedxml-fixes-for-xml.html
2013-02-22 13:17:22 +00:00
Tom Christie
31f3fa63b2 Tweak TemplateHTMLRenderer docs. 2013-02-22 08:39:50 +00:00
Tom Christie
47a4f0863d Update link to @paulmillr. Refs #668. 2013-02-20 09:18:54 +00:00
Paul Miller
fc5f982ccc Don’t use my old nickname in credits. 2013-02-20 11:12:54 +02:00
Tom Christie
c5cf51cf51 Fix typos. 2013-02-19 17:16:48 +00:00
Tom Christie
66a6ffaf95 Fix typos. 2013-02-19 17:09:28 +00:00
Tom Christie
618606888a Mention caching. Closes #659. 2013-02-15 09:27:37 +00:00
Tom Christie
50a9070e46 Added @pelme, for TimeField addition.
Refs #660.
2013-02-15 09:19:10 +00:00
Tom Christie
d05b950945 Update release notes. 2013-02-15 09:16:58 +00:00
Tom Christie
6dd867c8fe Merge pull request #660 from pelme/timefield
Added a serializer TimeField
2013-02-15 01:12:03 -08:00
Tom Christie
e919cb1b57 Note python compatibility. 2013-02-15 09:09:34 +00:00
Tom Christie
725741198b Python 2.6.5+ required 2013-02-15 09:05:55 +00:00
Andreas Pelme
5a5df18d18 Added a serializer TimeField 2013-02-14 21:19:51 +01:00
Tom Christie
de029561d0 Docs tweaks. 2013-02-14 13:09:42 +00:00
Tom Christie
0d3e23f0d3 Update release notes. 2013-02-14 13:02:38 +00:00
eofs
34145408cb Missing imports added 2013-02-14 13:21:54 +02:00
Stephan Groß
2eab7b9f59 thanks @floppya for docs fix 2013-02-14 09:04:09 +01:00
floppya
876bd67888 Minor doc fixes
Fixes misspelling of "primitive"  and removes an awkward "with".
2013-02-13 13:59:00 -06:00
Tom Christie
569dc67a12 Username tweak. 2013-02-13 14:40:02 +00:00
Tom Christie
f8eb222ec1 Add links to 2.2 announcement 2013-02-13 14:08:56 +00:00
Tom Christie
77db00f449 Tweak title 2013-02-13 09:05:16 +00:00
Tom Christie
0b2adaa942 Drop note on object-level permissions.
Not yet supported by DjangoModelPermissions.
2013-02-12 23:17:41 +00:00
Tom Christie
195adf6ed4 Update release notes. 2013-02-12 23:17:19 +00:00
Tom Christie
b7a5c4b050 Notes on creating a custom obtain_auth_token view. Fixes #641. 2013-02-12 23:13:48 +00:00
Tom Christie
3f529dc25d Typo 2013-02-12 22:06:20 +00:00
Tom Christie
891b197f0b Drop issue management section 2013-02-12 22:06:13 +00:00
Tom Christie
a08fa7c71e Add deprecation policy to release notes. 2013-02-12 22:05:17 +00:00
Tom Christie
edaf031935 Notes on explicit hyperlink relations behavior 2013-02-12 20:14:47 +00:00
Tom Christie
f97aa49809 Docs on serializer context. 2013-02-12 13:55:00 +00:00
Tom Christie
f642ee48a6 Document serializing querysets 2013-02-12 12:14:58 +00:00
Tom Christie
112753917d Update release notes 2013-02-12 12:14:29 +00:00
Tom Christie
36cdefbb4d Notes on object-level permissions. 2013-02-12 08:58:29 +00:00
Tom Christie
c81b2c6442 Notes on object-level permissions. 2013-02-12 08:58:28 +00:00
Tom Christie
55fdac4176 Use many=True for serializers. 2013-02-12 08:58:28 +00:00
Tom Christie
f5a0275547 Tidy up internal view permission checking logic.
Also document correctly - these methods are now public and will fall
under the deprecation policy from now on.
2013-02-12 08:58:28 +00:00
Tom Christie
09b01887f2 New style object-level permission checks 2013-02-12 08:58:28 +00:00
Tom Christie
84a1896b7d Change URL of 2.2 announcement 2013-02-10 16:44:45 +00:00
Tom Christie
0997ce9fc2 Improve relations documentation. 2013-02-10 16:44:32 +00:00
Tom Christie
fd57978cb7 Add missing model = to serializer classes in docs 2013-02-08 09:01:45 +00:00
Tom Christie
15c8fd96ef Docs for related fields, with lots of examples. 2013-02-07 23:11:12 +00:00
Tom Christie
7ffb2435ca Add link to djangorestframework-digestauth 2013-02-07 21:23:10 +00:00
Tom Christie
47d6640ea5 Remove email 2013-02-07 21:07:33 +00:00
Tom Christie
4dcc34ecae More 2.2 release notes 2013-02-07 13:16:17 +00:00
Tom Christie
670ac25b25 Allow serializers to handle dicts as well as objects. Fixes #447. 2013-02-07 12:57:40 +00:00
Tom Christie
c18fb0d695 Added a post_save hook. Closes #558. 2013-02-06 21:28:03 +00:00
Tom Christie
cc2ec2bbf0 Tweaks to release notes. 2013-02-06 12:57:59 +00:00
Tom Christie
691a8f682d Note on turning off implicit many behavior. Refs #564. 2013-02-06 12:48:08 +00:00
Tom Christie
4788c87b76 Fix mismatch between template blocks and docs.
Fixes #639.
2013-02-06 12:35:05 +00:00
Tom Christie
bdc97c5611 2.2 Release notes (wip) 2013-02-06 08:52:21 +00:00
Tom Christie
280dfa4343 Remove 2.0 notice on main docs. 2013-02-04 21:45:38 +00:00
Tom Christie
b9f1fbb5d2 Added @xordoquy for the incredible py3k work!
Commiter number 100!
2013-02-01 15:10:52 +00:00
Tom Christie
00752dcd2a Py3k cleanup 2013-02-01 15:07:51 +00:00
Tom Christie
8021bb5d50 Added @fernandogrd for bugfix #632. Thanks! 2013-01-30 12:43:52 +00:00
Tom Christie
ce914b03ed Updated release notes. 2013-01-30 12:42:51 +00:00
Tom Christie
1929159db1 Docs tweaks. 2013-01-29 09:15:16 +00:00
Tom Christie
5f065153c3 Added @z4r. Thanks!
For ensuring `django-jsonfield` compatibility, via #629.
2013-01-29 09:10:37 +00:00
Tom Christie
54096a19fc Added @swistakm, for docs fix #625. Thanks! 2013-01-28 21:08:53 +00:00
Tom Christie
141814585c Update release notes 2013-01-28 12:58:22 +00:00
Tom Christie
94c4a54bf8 Update release notes. 2013-01-28 12:23:25 +00:00
Tom Christie
2f14d79f4a Added @wronglink, for docs fixes in #592. Thanks! 2013-01-28 12:18:00 +00:00
swistakm
661c8f9ad5 fix mistake in docs 2013-01-28 13:05:52 +01:00
Michael Elovskikh
499d6424ae Merge branch 'upstream_master' into docs_patch_method
Conflicts:
	docs/api-guide/authentication.md
2013-01-28 16:26:16 +06:00
Michael Elovskikh
180c94dc44 Undo changes in browsable-api.md and browser-enhancements.md 2013-01-28 15:54:00 +06:00
Tom Christie
3bcd38b7d0 Notes on upgrading and versioning. Fixes #620. 2013-01-28 09:10:23 +00:00
Tom Christie
e682bfa54e Drop unneccessary source= argument. 2013-01-28 08:01:54 +00:00
Tom Christie
896477f650 Added @mktums for docs fix in #621. Thanks! 2013-01-28 07:54:03 +00:00
Tom Christie
b1ae82b498 And link to quickstart. 2013-01-28 07:52:22 +00:00
Tom Christie
b11628f429 Revert comment. 2013-01-28 07:52:04 +00:00
Tom Christie
fdd35cd266 Merge pull request #621 from mktums/patch-1
Update docs/tutorial/1-serialization.md
2013-01-27 23:50:23 -08:00
Tom Christie
a58145e20f Note auto_now, auto_now_add behavior. Refs #622. 2013-01-28 07:46:30 +00:00
Tom Christie
99ef0bcad9 Tweak description of example throttle. 2013-01-28 07:37:15 +00:00
Tom Christie
e649f2ec61 Example custom authentication. Fixes #301. 2013-01-28 07:36:57 +00:00
Tom Christie
cb219fa04f Example custom throttle. Fixes #300. 2013-01-28 07:30:28 +00:00
Tom Christie
84a33b0a1f Example custome permission. Fixes #299. 2013-01-28 07:29:50 +00:00
Mike TUMS
c1dc1860da Update docs/tutorial/1-serialization.md
Update for tutorials (manual serialization) to support HTTP PATCH method (partial update of instance)
2013-01-28 00:32:32 +04:00
Tom Christie
ccb4ef0811 Typo 2013-01-27 19:34:16 +00:00
Tom Christie
d4f38dece4 Fix link to django docs. 2013-01-27 17:32:54 +00:00
Tom Christie
a7479e02fa AJAX, CSRF & CORS documentation 2013-01-27 17:23:56 +00:00
Tom Christie
a75db4cfb8 Version 2.1.17 2013-01-26 20:59:15 +00:00
Tom Christie
a2dcf5e878 Fix pagination docs 2013-01-26 20:52:58 +00:00
Tom Christie
fa349f4b55 Added @guglielmo, for the tutorial fix in #614. Thanks! 2013-01-26 20:13:49 +00:00
Guglielmo
25f2d3b561 Update docs/tutorial/4-authentication-and-permissions.md
HTMLFormatter is in pygments.formatters.html
2013-01-25 18:16:14 +01:00
Tom Christie
a3e5521569 Add twitter follow button. 2013-01-24 13:01:42 +00:00
Tom Christie
4b0d4288c1 Tweak linking style. 2013-01-24 13:01:28 +00:00
Tom Christie
a57c0c5aae Docs tweak based on user feedback. 2013-01-23 19:03:55 +00:00
Tom Christie
4a4fe60e33 Merge pull request #603 from minddust/validation_error
Add failed testcase for fieldvalidation + fix
2013-01-23 01:21:26 -08:00
Stephan Groß
30046cae8c Add validate_<fieldname> bugfix to release notes 2013-01-23 07:55:00 +01:00
Tom Christie
cf52c0e044 Update release notes. 2013-01-22 17:42:06 +00:00
Tom Christie
998c245f72 Add twitter share button to index page. 2013-01-22 17:35:52 +00:00
Tom Christie
b7ab2aee46 Merge branch 'master' into unauthenticated_response
Conflicts:
	docs/api-guide/authentication.md
2013-01-22 09:11:38 +00:00
Tom Christie
65b62d64ec WWW-Authenticate responses 2013-01-21 21:29:49 +00:00
Tom Christie
e29ba356f0 Added @kevinastone, for work on extra test cases in #602. Thanks! 2013-01-21 17:53:27 +00:00
Tom Christie
2c76212e54 Add missing import to tutorial. Fixes #599 2013-01-20 16:38:32 +00:00
Tom Christie
42fcc3599c Added @brutasse for docs fix #600. Thanks! 2013-01-20 15:50:16 +00:00
Bruno Renié
9b9b6529bc Fixed reference to authtoken in the docs 2013-01-20 14:49:07 +01:00
Tom Christie
199fa766ff Update release notes 2013-01-19 17:00:20 +00:00
Tom Christie
af3fd09845 Tweak imports in tutorial. Fixes #597. 2013-01-19 15:31:21 +00:00
Tom Christie
4b61ead53f Added @nemesisdesign, for documentation on Apache mod_wsgi setup. Thanks!
Refs #588.
2013-01-18 22:30:03 +00:00
Tom Christie
73b69b9bb6 Rephrasing. 2013-01-18 22:26:36 +00:00
Tom Christie
fb5943bb64 Merge pull request #588 from nemesisdesign/patch-1
mod_wsgi specific documentation for WSGIPassAuthorization
2013-01-18 14:08:59 -08:00
Tom Christie
15ad94c611 Drop the curl notes. Unnecessary. 2013-01-18 22:06:41 +00:00
Tom Christie
bd089836a1 Note on setting ContentType. Fixes #589. Refs #586. 2013-01-18 22:01:33 +00:00
Tom Christie
0672401781 Update release notes. 2013-01-18 22:00:59 +00:00
Tom Christie
80a8d0f279 Update docs to reference DabApps commercial support 2013-01-18 14:04:26 +00:00
Tom Christie
4c63961087 Tweak resource docs 2013-01-17 12:30:28 +00:00
Michael Elovskikh
ed13754859 Added PATCH HTTP method to the docs 2013-01-17 17:17:53 +06:00
Federico Capoano
f19d4ea8b1 Update docs/api-guide/authentication.md
refined mod_wsgi
2013-01-16 17:17:07 +01:00
Federico Capoano
55cc745254 Update docs/api-guide/authentication.md
Added mod_wsgi specific instructions
2013-01-16 17:10:46 +01:00
Tom Christie
0f0a07b732 Note changes to Decimal rendering to json behavior. Fixes #582. 2013-01-16 14:41:57 +00:00
Tom Christie
fecfe57aef Updated release notes. 2013-01-16 14:36:37 +00:00
Tom Christie
0756ca1f42 Added @steve-gregory for nullable slug relation tests.
See: #585
2013-01-16 14:35:30 +00:00
Tom Christie
4a7139e41d Tweaks 2013-01-15 21:49:24 +00:00
Tom Christie
71e55cc4f6 Merge with latest master 2013-01-15 17:53:24 +00:00
Tom Christie
8f3931e02d Update docs 2013-01-15 17:50:39 +00:00
Tom Christie
e1076cfb49 Added @radiosilence, for the timedelta encoding support. Thanks!
See: #584
2013-01-15 13:31:05 +00:00
Tom Christie
b4c43d5fe4 Update release notes 2013-01-15 13:29:21 +00:00
Stephan Groß
e32aaa29b8 Add @shezi thanks! 2013-01-15 14:00:32 +01:00
Tom Christie
79f635e0dd Modify tutorial to work with pygments 1.6rc. Fixes #581. 2013-01-15 09:33:24 +00:00
Tom Christie
190473f508 Tweak messagepack links 2013-01-14 17:38:45 +00:00
Tom Christie
a7e7c441a4 Add link to @mjumbewu's CSV package 2013-01-14 17:38:32 +00:00
Tom Christie
191135d7b0 Version 2.1.16 2013-01-14 09:20:44 +00:00
Richard Wackerbarth
08943c3e0a Format extensions have already been introduced.
If format extensions are used,
they must be used in the creation of the
reverse URLs.
2013-01-13 12:09:49 -06:00
Richard Wackerbarth
0987bed2f7 Minor gramatical correction 2013-01-12 12:36:21 -06:00
Stephan Groß
da85bb1ab3 Update django-filter link to pypi 2013-01-12 14:31:40 +01:00
Tom Christie
25a463be73 Update release notes. 2013-01-12 10:07:11 +00:00
Stephan Groß
919c5e1e01 Fix typo in permission_classes 2013-01-11 20:26:44 +01:00
Tom Christie
c09a579851 Added @wackerbarth. Thanks! 2013-01-11 08:57:06 +00:00
Richard Wackerbarth
7dd5c56f22 Make the whitespace uniform 2013-01-10 16:16:30 -06:00
Richard Wackerbarth
12efd78fcf Bringing up the Web API 2013-01-10 15:37:49 -06:00
Richard Wackerbarth
8efd9563a6 Some comment on the tutorial repository 2013-01-10 15:37:33 -06:00
Richard Wackerbarth
674c9029c1 Imply an additional element in infinite lists
This is to allow the addition of elements without
having to change existing lines of code
2013-01-10 15:37:15 -06:00
Tom Christie
cb235977f6 Include CSRF note in SessionAuthentication docs. 2013-01-09 09:22:23 +00:00
Mark Aaron Shirley
b298bf53f3 Update release notes 2013-01-08 08:35:41 -08:00
Marc Tamlyn
4df1172665 Fix reference to BasicAuthentication in settings. 2013-01-08 11:45:55 +00:00
Tom Christie
31b585f26a Note paginate_by=None usage. Fixes #555. 2013-01-07 21:13:10 +00:00
Tom Christie
36fa722ebb Merged to latest master 2013-01-07 21:04:52 +00:00
Tom Christie
e429f702e0 Fix PAGINATE_BY_PARAM docs. Refs #551 2013-01-07 20:17:52 +00:00
Tom Christie
d9df15f321 Added @juanriaza's djangorestframework-msgpack package to the docs. 2013-01-07 17:36:31 +00:00
Tom Christie
de00d3720e Added @mjtamlyn. Thanks! 2013-01-07 17:36:31 +00:00
Tom Christie
152e6d5c0a Added @michaelmior. Thanks! 2013-01-07 08:57:43 +00:00
Yuri Prezument
12bb25b372 Added @juanriaza. Thanks 2013-01-05 18:02:26 +02:00
Yuri Prezument
d7f3c86ad1 Updated release notes 2013-01-05 18:01:57 +02:00
Tom Christie
26f9acb45a Validation errors instead of exceptions when serializers receive incorrect types. Fixes #402. 2013-01-04 14:11:05 +00:00
Tom Christie
eb14278a3b Add proper validation for updating relational fields with incorrect types. Fixes #446. 2013-01-04 13:50:40 +00:00
Mark Shirley
466d4584ae Remove duplicate release notes line 2013-01-03 23:18:58 +01:00
Tom Christie
ad671022e1 Version 2.1.15 2013-01-03 22:14:11 +00:00
Tom Christie
4223786ddc Tweak release notes. 2013-01-03 22:11:50 +00:00
Tom Christie
a122856d46 Tweak behavior of hyperlinked fields with an explicit format suffix. 2013-01-03 21:50:28 +00:00
Tom Christie
bfea7f64ee Tweak behavior of hyperlinked fields that include an explicit format suffix. 2013-01-03 21:49:29 +00:00
Tom Christie
92ae08207a Drop unused private save_m2m flag 2013-01-03 21:49:01 +00:00
Tom Christie
05c72a5d30 Fix copyright notice and travis badge 2013-01-03 21:46:39 +00:00
Yuri Prezument
097f4c6962 Updated release-notes 2013-01-03 09:40:49 +02:00
Tom Christie
161432d78c Added @ahankinson, for PATCH support. Thanks! 2013-01-02 13:49:43 +00:00
Tom Christie
ef73160599 Added RetrieveUpdateAPIView 2013-01-02 13:46:19 +00:00
Mark Aaron Shirley
f62acf025e Update release notes 2013-01-01 18:06:22 +01:00
Tom Christie
eff833b39d Version 2.1.14 2012-12-31 08:53:49 +00:00
Tom Christie
8fad0a727a Relation fields move into relations.py 2012-12-31 08:53:40 +00:00
Tom Christie
af5c3c3bf4 Added @sebastibe. Thanks! 2012-12-30 07:51:07 +00:00
Tom Christie
275fcde5e6 Added @toranb - Thank you! 2012-12-29 16:59:01 +00:00
Tom Christie
3c7a636199 Updated release notes 2012-12-29 16:58:51 +00:00
Tom Christie
25398e8cf1 Update release notes 2012-12-29 13:33:03 +00:00
Tom Christie
923f81d269 Nested serializers now support nullable relationships, plus test. Fixes #384 2012-12-29 13:19:05 +00:00
Tom Christie
1f6af163fe Tweak quote 2012-12-29 12:15:15 +00:00
Tom Christie
5d4ea3d23f Add .validate() example 2012-12-28 12:59:24 +00:00
Tom Christie
3e4242fc43 django.contrib.staticfiles no longer needs to be in INSTALLED_APPS 2012-12-28 12:33:24 +00:00
Tom Christie
4b32cda5a8 Update release notes and documentation for 2.2.0 2012-12-27 17:53:07 +00:00
Tom Christie
9cc56a97b5 Added @akinfold for staticfiles changes. 2012-12-27 17:35:21 +00:00
Tom Christie
ed09d26fb8 Update docs/topics/release-notes.md 2012-12-23 18:50:17 +00:00
Tom Christie
ab991199cb Merge pull request #529 from reinout/reinout-slug-kwarg
slug_kwarg attribute doesn't work; it should be slug_url_kwarg
2012-12-21 02:06:33 -08:00
Reinout van Rees
5f9ecd1c7a slug_kwarg attribute doesn't work; it should be slug_url_kwarg 2012-12-21 10:42:40 +01:00
Tom Christie
79aea2f0d0 Version 2.1.12 2012-12-21 09:18:35 +00:00
Tom Christie
fb4bbf7d98 Added @treyhunner. Thank you! 2012-12-21 09:17:33 +00:00
Tom Christie
c097bcef58 Update release notes. 2012-12-19 22:42:11 +00:00
Tom Christie
566b9ff27b Added @joual - Thanks! 2012-12-19 22:41:00 +00:00
Tom Christie
c29b08ad43 Update release notes 2012-12-19 22:06:38 +00:00
Tom Christie
24581faceb Update release notes. 2012-12-18 18:23:28 +00:00
Tom Christie
9680b42b50 Version 2.1.11 2012-12-17 22:01:17 +00:00
Tom Christie
0418cebc58 Update contact details 2012-12-17 22:00:25 +00:00
Tom Christie
70714c2346 Version 2.1.10 2012-12-17 09:08:28 +00:00
Tom Christie
35f72cecb1 Fix model validation exclusions. Fixes #500. Fixes #506. 2012-12-15 20:40:41 +00:00
Tom Christie
1d24d1fc59 Added @sunscrapers. Thanks! 2012-12-14 20:14:42 +00:00
Tom Christie
e9eb47207a Update release notes. 2012-12-14 20:08:53 +00:00
Tom Christie
6f8b432677 Added @pilt. Thanks! 2012-12-14 20:08:43 +00:00
Stephan Groß
e198a2b376 added RetrieveUpdateAPIView 2012-12-13 16:57:17 +01:00
Stephan Groß
628e3bf001 Added @cmurtaugh. Thanks! 2012-12-12 08:59:19 +01:00
Colin Murtaugh
9188d487c3 Replaced SingleObjectBaseView with SingleObjectAPIView 2012-12-11 17:26:08 -05:00
Tom Christie
0824761f47 Version 2.1.9 2012-12-11 21:07:48 +00:00
Tom Christie
17b77fc446 Added @gkrappel. Thank you! 2012-12-11 21:07:11 +00:00
Tom Christie
80adaecc43 Added @annacoder. Thanks! 2012-12-11 09:04:47 +00:00
Tom Christie
ff01ae3571 Version 2.1.8 2012-12-08 13:01:03 +00:00
Tom Christie
c1be29418b Add link to json+hal hypermedia format. 2012-12-07 23:58:20 +00:00
Tom Christie
b170973993 Version 2.1.7 2012-12-07 22:36:30 +00:00
Tom Christie
21f7dcf7c6 Added release notes 2012-12-07 22:25:28 +00:00
Tom Christie
a463ddbb37 Merge pull request #470 from minddust/fix-#469
fixed #469 - RegexField <--> BrowsableAPI Bug
2012-12-06 14:58:18 -08:00
Tom Christie
26cfa02326 Added @roberts81. Thanks! 2012-12-06 22:56:23 +00:00
Tom Christie
6a5f4f2a90 Added @justanotherbody. Thanks! 2012-12-06 22:38:20 +00:00
Tom Christie
2938bc13b1 Added @reinout for the copy fixes. Thanks! 2012-12-06 16:30:22 -04:00
Tom Christie
1cf6a0469b Merge pull request #475 from reinout/master
Textual tutorial fixes
2012-12-06 12:27:12 -08:00
Reinout van Rees
7a110a3006 Two typo fixes.
Plural/singular fix.
Typo fixed.
2012-12-05 16:24:41 +01:00
Reinout van Rees
3f39828788 Small textual fixes. 2012-12-05 16:16:46 +01:00
Reinout van Rees
ee184b8629 Small textual fixes. 2012-12-05 16:08:13 +01:00
Reinout van Rees
cb4e857217 Textual fixes.
Added a sentence introducing the second view.
Fix one or two additional sentences.
2012-12-05 16:04:52 +01:00
Marko Tibold
3868241f6a Update docs/api-guide/permissions.md
@permission_classes takes a tuple or list.
2012-12-05 15:09:06 +01:00
Reinout van Rees
3417c4631d Fixed typos and fixed wording.
Some singular/plural fixes.
Fixed some 'serialise->serialize' kind of UK/US differences. The 'z' seems more common in the rest of the docs, so that's what I used.
Removed a half-finished-sentence left dangling somewhere.
2012-12-05 12:31:38 +01:00
Reinout van Rees
fc6dbb45e0 Fixed wording. 2012-12-05 12:20:03 +01:00
Stephan Groß
e044fa089b fixed #469 - RegexField <--> BrowsableAPI Bug 2012-12-04 09:40:23 +01:00
Stephan Groß
3e3ede71d2 Added @mvdwaeter. Thanks! 2012-12-03 12:47:12 +01:00
Tom Christie
45d28f49e0 Added @mhsparks. Thanks! 2012-12-02 11:04:34 -04:00
mvdwaeter
3e8336af50 Fixed typo in import statement of tutorial 2012-11-30 21:50:51 +01:00
Tom Christie
8d485da483 Added @fabianbuechler. Thanks! 2012-11-29 19:05:34 -04:00
Pavel Savchenko
fd383b2b5e Fix location of obtain_auth_token view 2012-11-28 11:58:34 +02:00
Stephan Groß
11ef60b127 Added @yprez Thanks! 2012-11-28 07:32:12 +01:00
Stephan Groß
77fa98d839 Merge pull request #453 from yprez/docs_fix
api-guide/views.md - add imports to code example
2012-11-27 22:30:13 -08:00
Yuri Prezument
80be571b2e Import from correct place 2012-11-27 19:42:37 +02:00
Stephan Groß
24baf6425b Added @oaubert Thanks! 2012-11-27 18:33:56 +01:00
Stephan Groß
f3e598e753 Merge pull request #455 from oaubert/patch-2
Tutorial: fix module name in section 3
2012-11-27 07:56:55 -08:00
Olivier Aubert
71129dc747 Tutorial: fix module name in section 3
Again snippet -> snippets, but then it could be simpler (and possibly intended) to rename snippets to snippet in the first section of the tutorial.
2012-11-27 15:30:14 +01:00
Olivier Aubert
af8beb90c2 Tutorial: fix module name in section 2
snippet -> snippets (to match section 1).
2012-11-27 15:19:49 +01:00
Yuri Prezument
e8a41322fb api-guide/views.md - add imports to code example
* It wasn't clear where `Response` should be imported from.
2012-11-27 11:42:25 +02:00
Tom Christie
fd89bca35f Version 2.1.6. AKA: I am a doofus. 2012-11-23 13:21:18 +00:00
Tom Christie
95aa99d8df Version 2.1.5 2012-11-23 13:09:14 +00:00
Tom Christie
ac84c2ed2e Version 2.1.4 2012-11-22 17:49:53 +00:00
Tom Christie
db3dc79288 Added @maspwr for the partial updates work. Ta! 2012-11-22 10:16:47 +00:00
Tom Christie
4eaac26427 Added @dbachrach. Thanks! 2012-11-22 10:12:22 +00:00
Tom Christie
df545f7a25 Updated release notes. 2012-11-22 10:08:14 +00:00
Tom Christie
d031ccce6e Updated release notes. 2012-11-22 10:07:42 +00:00
Mark Aaron Shirley
0876bed963 Merge remote-tracking branch 'upstream/master' into partial-update 2012-11-21 09:37:22 -08:00
Stephan Groß
9459289d7d updated comparison due to pep8 programming recommendations
http://www.python.org/dev/peps/pep-0008/#programming-recommendations
2012-11-21 13:35:20 +01:00
Stephan Groß
6ba4df8a27 Merge remote-tracking branch 'upstream/master' into regex_field
Conflicts:
	docs/topics/release-notes.md
2012-11-21 11:56:34 +01:00
Mark Aaron Shirley
3b43d41e91 Documentation changes for partial serializer updates 2012-11-20 15:57:54 -08:00
Tom Christie
3268c67343 Update docs/topics/release-notes.md 2012-11-20 23:33:56 +00:00
Tom Christie
8e8b23b6a9 Merge pull request #430 from j4mie/serializer-method-field
Serializer method field
2012-11-20 15:30:30 -08:00
Tom Christie
3227a357ce Added @irrelative for the mighty fine work. 2012-11-20 23:19:11 +00:00
Stephan Groß
86484668f6 added RegexField 2012-11-20 15:38:50 +01:00
Jamie Matthews
5f4c385a86 Add example use of SerializerMethodField to docs 2012-11-20 13:25:21 +00:00
Tom Christie
a44a94dd6e More docs tweaking. 2012-11-19 22:08:38 +00:00
Tom Christie
588e4dda6d Added release notes 2012-11-19 21:49:07 +00:00
Tom Christie
83f3770af1 Adding folks to the credits makes me happy. Good work @jonlil! 2012-11-19 21:47:34 +00:00
Tom Christie
ce5b186ca8 Docs tweaks. 2012-11-19 21:42:33 +00:00
Jamie Matthews
3ab8c4966d Tweaks to SerializerMethodField docs 2012-11-19 17:24:08 +00:00
Jamie Matthews
de5b071d67 Add SerializerMethodField 2012-11-19 17:22:17 +00:00
Robert Romano
f5f1ac49ec Update robromano fork with upstream master
Conflicts:
	docs/topics/credits.md
	docs/topics/release-notes.md
2012-11-18 21:07:44 -08:00
Tom Christie
f131e533ed Docs, docs, docs, docs, docs, docs 2012-11-18 17:57:07 +00:00
Tom Christie
346a79b170 Added @MechanisM - Thanks!
(That's a mighty kick ass Gravatar)
2012-11-17 00:29:15 +00:00
Eugene MechanisM
4068323df4 Missing import of "Permission" model in docs
Missing import of "Permission" model in docs
2012-11-17 04:03:43 +04:00
Tom Christie
2263ed8b94 Tweak 2012-11-16 23:24:36 +00:00
Tom Christie
0eba278e13 Improve pagination docs 2012-11-16 23:22:23 +00:00
Tom Christie
016ef5019f Version 2.1.3 2012-11-16 22:58:22 +00:00
Tom Christie
e801e21210 Merge pull request #422 from markotibold/max_length_for_modelserializers
Max length for modelserializers
2012-11-16 14:54:16 -08:00
Tom Christie
19b0516bfe Getting 2.1.3 release notes ready 2012-11-16 22:49:28 +00:00
Tom Christie
e40000c834 Merge pull request #408 from markotibold/file_and_image_fields
Added a FileField and an ImageField
2012-11-16 14:48:42 -08:00
Tom Christie
31f01bd631 Polishing to page size query parameters & more docs 2012-11-16 22:45:57 +00:00
Marko Tibold
f801e5d305 Simplified docs a bit for FileField and ImageField.
Added note about MultipartParser only supporting file uploads and Django's default upload handlers.
2012-11-16 23:44:55 +01:00
Marko Tibold
0076e2f462 Added brief docs for URLField and SlugField. 2012-11-16 23:23:34 +01:00
Tom Christie
9973cf329a Merge pull request #412 from minddust/custom_page_size_per_request
support for custom page size per request
2012-11-16 13:45:27 -08:00
Tom Christie
2f2bde69e4 Docs, tox and travis use django-filter 0.5.4 2012-11-16 20:58:49 +00:00
Tom Christie
c5765641a4 Fix typo 2012-11-16 17:28:08 +00:00
Marko Tibold
b4cfb46a56 WIP on docs for File- and ImageFileds. 2012-11-16 00:22:08 +01:00
Stephan Groß
3ae203a018 updated script to just use page_size_kwarg 2012-11-15 12:06:43 +01:00
Stephan Groß
b17a981800 updated release noted for page_size stuff 2012-11-15 11:24:17 +01:00
Stephan Groß
38e94bb8b4 added global and per resource on/off switch + updated docs 2012-11-15 11:15:05 +01:00
Rob Romano
d541e0c423 Merge branch 'master' of https://github.com/robromano/django-rest-framework
Conflicts:
	docs/api-guide/authentication.md
	docs/topics/credits.md
2012-11-14 13:01:43 -08:00
Rob Romano
321ba156ca Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, updated tests & docs. Left authtoken.urls in place as example. 2012-11-14 12:51:00 -08:00
Rob Romano
eb20b5663e Added documentation on how to use the token authentication login view. 2012-11-14 12:48:03 -08:00
Tom Christie
0cfb27b40e Merge pull request #407 from ludwigkraatz/location_header
Location header when Creating a Resource with HyperlinkedIdentityField
2012-11-14 10:42:08 -08:00
Stephan Groß
1e83b60a43 added description how to use the auth token 2012-11-14 18:00:59 +01:00
Stephan Groß
5967f15f7f updated docs 2012-11-14 16:11:35 +01:00
Stephan Groß
33fe0d2bea added release note 2012-11-14 16:08:14 +01:00
Ludwig Kraatz
8b999c6bb5 polishing code
and adding myself to auhtors file
2012-11-14 11:46:16 +01:00
Rob Romano
4fd590f96f Renamed AuthTokenView to ObtainAuthToken, added obtain_auth_token var, updated tests & docs. Left authtoken.urls in place as example. 2012-11-13 16:49:13 -08:00
Rob Romano
d3ee5080a0 Added documentation on how to use the token authentication login view. 2012-11-13 15:03:42 -08:00
Tom Christie
957700ecfb Remove OAuth2 from docs 2012-11-13 11:26:45 +00:00
Tom Christie
f9a9ff1db0 Newline 2012-11-10 17:04:31 +00:00
Tom Christie
ffb4fe66ce Added @glic3rinu. Thanks! 2012-11-10 17:03:08 +00:00
Tom Christie
e224061189 Support for read_only_fields on ModelSerializer classes 2012-11-09 17:01:20 +00:00
Tom Christie
d365621cbe Note django-filter installation 2012-11-09 16:44:39 +00:00
Tom Christie
8953a60196 Merge with master 2012-11-09 13:49:52 +00:00
Tom Christie
9aaeeacdfe Minor docs tweak. 2012-11-09 13:39:40 +00:00
Tom Christie
71ef58e154 Typo 2012-11-09 13:17:00 +00:00
Tom Christie
3ac26af7ca Version 2.1.2 (Adds filtering support) 2012-11-09 13:13:41 +00:00
Tom Christie
c7df9694b5 Merge pull request #383 from tomchristie/filtering
Support for filtering backends
2012-11-09 05:07:34 -08:00
Tom Christie
ff1234b711 Updated filteing docs. 2012-11-09 13:05:36 +00:00
Tom Christie
ad9c5d2ffa Added @benkonrath, for his excellent work on filtering support. Thank you! 2012-11-08 21:49:38 +00:00
Tom Christie
bc6f2a1703 Make default FILTER_BACKEND = None 2012-11-08 21:46:53 +00:00
Tom Christie
0089f0faa7 Add media_type to example file parser 2012-11-08 20:43:23 +00:00
Tom Christie
f5ce7152ec Tweak note style 2012-11-08 15:59:22 +00:00
Tomi Pajunen
40c6fe7119 Comments updated 2012-11-08 17:04:29 +02:00
Tomi Pajunen
b607eefc7c Release notes updated 2012-11-08 16:48:16 +02:00
Tom Christie
34c5fb0cc6 Add filtering into documentation 2012-11-07 21:28:10 +00:00
Tom Christie
47b534a13e Make filtering optional, and pluggable. 2012-11-07 21:07:24 +00:00
Tom Christie
0356c5dca4 Update release notes 2012-11-07 11:34:31 +00:00
Stephan Groß
e02a8470e8 fixed typo 2012-11-06 21:18:49 +01:00
Stephan Groß
4136b7e44b fixed typo in html status code 2012-11-06 21:11:05 +01:00
Stephan Groß
62fc5b80ef fixed field name 2012-11-06 20:54:48 +01:00
Stephan Groß
1f67b9ba9c added changelog entry and fixed old one 2012-11-06 20:53:09 +01:00
Tom Christie
6d3bb67aa6 Add pk_url_kwarg to hyperlinked fields 2012-11-06 17:11:52 +00:00
Tom Christie
12b86cb5e3 Update release notes 2012-11-06 17:05:15 +00:00
Stephan Groß
2c52a2581f added slug support for HyperlinkedIdentityField 2012-11-06 17:02:34 +01:00
Tom Christie
4f5a6fca64 Added @tonimichel. Thanks! 2012-11-06 11:04:27 +00:00
Tom Christie
b19c58ae17 Support for HTML error templates. Fixes #319. 2012-11-06 10:44:19 +00:00
Tom Christie
455a8cedcf Tweaks 2012-11-05 17:03:22 +00:00
Tom Christie
9746abdf72 Version 2.1.0. Adding release notes. 2012-11-05 16:46:33 +00:00
Tom Christie
1418d104a8 Tweak related field docs now that queryset is no longer required. 2012-11-05 16:44:26 +00:00
Tom Christie
9731b95fc3 Merge pull request #347 from minddust/master
support for passing custom slug options to HyperlinkedRelatedField
2012-11-05 08:36:59 -08:00
Tom Christie
b87f01aa54 Merge pull request #371 from tomchristie/serializer-fixes
Serializer fixes
2012-11-05 08:35:54 -08:00
Stephan Groß
85b176cf47 added docs 2012-11-05 16:51:49 +01:00
Tom Christie
33217db33e Fix broken link 2012-11-05 15:39:03 +00:00
Tom Christie
558b29e5ff Added @mjs7231 - Thanks! 2012-11-05 15:38:22 +00:00
Tom Christie
33be4b43b9 queryset argument is now optional on writable model fields. 2012-11-05 12:51:04 +00:00
Tom Christie
b7b942c599 Swap position of instance and data keyword arguments. 2012-11-05 10:53:20 +00:00
Tom Christie
362c413f08 Update release notes. 2012-11-05 09:59:35 +00:00
Tom Christie
a4ab4355a6 Added @osiloke. Thanks! 2012-11-05 09:59:35 +00:00
Tom Christie
3e0319389a Added @jmagnusson. Thanks! 2012-11-04 09:45:30 +00:00
Tom Christie
59c1e0933f Update release notes 2012-11-02 21:13:29 +00:00
Tom Christie
b9bff2a984 Fix issues with pk related fields in the browsable API. 2012-11-02 14:05:14 +00:00
Tom Christie
062f5caef3 Tweaks fields docs, and fix 2.0.1 version. 2012-11-01 23:40:34 +00:00
Tom Christie
09d70958bd Update release notes 2012-11-01 23:15:42 +00:00
Tom Christie
36e21153fb Merge master 2012-11-01 23:11:28 +00:00
Tom Christie
d327c5f531 Relational field support in browseable API.
Add slug relational fields.
Add quickstart.
2012-11-01 23:04:13 +00:00
Tom Christie
600289a815 Added @ottoyiu. Thanks! 2012-11-01 13:31:22 +00:00
Tom Christie
aa779598aa Merge pull request #352 from asfaltboy/cleanup_MultipleObjectBaseView
cleanup MultipleObjectBaseView remains
2012-11-01 06:12:16 -07:00
Pavel Savchenko
9a0cc7c720 since MultipleObjectBaseView was renamed MultipleObjectAPIView, it stands to reason to complete the renaming in docs and comments as well. 2012-11-01 15:06:11 +02:00
Otto Yiu
96dc9ce1ad Fixing documentation on auth/throttling guides 2012-10-31 21:27:21 -07:00
Tom Christie
027c9079f6 PUT as create should return 201. Fixes #340. 2012-10-31 20:11:38 +00:00
Tom Christie
3a99170a73 Merge pull request #345 from minddust/master
minor docs fix
2012-10-31 04:02:50 -07:00
Stephan Groß
de2ef5d9c2 fixed typo 2012-10-31 11:12:09 +01:00
Tom Christie
4b2139c91a Merge pull request #344 from minddust/master
minor docs fix
2012-10-31 02:45:23 -07:00
Stephan Groß
7f7f0b6ffb added missing semicolon 2012-10-31 10:41:56 +01:00
Tom Christie
ecc55ca8f4 Added @asfaltboy. Thanks! 2012-10-31 09:39:32 +00:00
Pavel Savchenko
a3ace366db using 'pk' in fields throws KeyError
add missing imports
Browsable API seems to be working fine with FBV's (2.0.0)
removing snippets from the URI doesn't make sense
remain consistent in using SnippetDetail
2012-10-31 00:37:30 +02:00
Tom Christie
166025c0fc Package and doc tweaks 2012-10-30 14:48:48 +00:00
Tom Christie
4e7805cb24 Make docs ready to push to django-rest-framework.org 2012-10-30 14:18:23 +00:00
Tom Christie
a13aaea78d Merge pull request #341 from minddust/restframework2
fix ModelSerializer useage
2012-10-30 07:06:53 -07:00
Tom Christie
4cdd0b845e Final docs tweaks for 2.0 2012-10-30 13:59:31 +00:00
Stephan Groß
3216ac0224 added missing word + removed double whitespace 2012-10-30 14:53:38 +01:00
Stephan Groß
aa081678d5 added missing word 2012-10-30 14:38:23 +01:00
Stephan Groß
a967187b41 fixed typo 2012-10-30 14:36:37 +01:00
Stephan Groß
abf7f11619 fixed typo 2012-10-30 14:11:36 +01:00
Stephan Groß
bcfb46eedc removed empty row 2012-10-30 14:02:12 +01:00
Stephan Groß
9aa3726009 fix ModelSerializer useage
cause of:
from snippets.models import Snippet
2012-10-30 13:50:07 +01:00
Tom Christie
41ab18b13e Docs update 2012-10-30 12:23:17 +00:00
Tom Christie
29bc52096a Docs tweaks for tutorial. 2012-10-30 11:55:02 +00:00
Tom Christie
5f0d4ef2fc Update browser enhancments docs. Fixes #339. 2012-10-30 10:30:51 +00:00
Tom Christie
cf77fd6964 Tweak 2012-10-29 09:10:14 +00:00
Tom Christie
076ca51d6f Added @minddust. Thanks! 2012-10-29 08:53:12 +00:00
Stephan Groß
5865842019 fixed api_view decorator useage 2012-10-29 09:32:11 +01:00
Stephan Groß
2de89f2d53 remove empty rows 2012-10-29 09:29:45 +01:00
Stephan Groß
ff4804a360 fix api_view decorator useage 2012-10-29 09:25:17 +01:00
Stephan Groß
73cf859e26 add missing whitespace 2012-10-29 09:23:25 +01:00
Stephan Groß
741b387f35 fixed missplaced semicolon 2012-10-29 09:22:20 +01:00
Stephan Groß
5164f5d797 fixed missplaced semicolon 2012-10-29 09:21:27 +01:00
Stephan Groß
46e546ff23 fixed missplaced semicolon 2012-10-29 09:20:14 +01:00
Stephan Groß
72f3a7e4a7 add missing semicolon 2012-10-29 09:13:56 +01:00
Stephan Groß
842c8b4da4 add missing "`" for code formatting 2012-10-29 09:12:21 +01:00
Stephan Groß
8d2774dc97 fixed api_view decorator useage 2012-10-29 09:07:42 +01:00
Stephan Groß
c6240f4514 removed empty row 2012-10-29 08:58:29 +01:00
Stephan Groß
76db7d4c59 correct code indent 2012-10-29 08:54:14 +01:00
Tom Christie
0c71b4c100 Tweaks 2012-10-28 21:16:04 +00:00
Tom Christie
411c95ea0e Tweaks 2012-10-28 20:54:12 +00:00
Tom Christie
bdd939f1f3 Remove unfinished sections from the index 2012-10-28 20:50:51 +00:00
Tom Christie
f2d6346776 Add initial explanatory paragraph 2012-10-28 20:50:37 +00:00
Tom Christie
351382fe35 nested -> depth 2012-10-28 20:43:43 +00:00
Tom Christie
6e4ab09aae readonly -> read_only 2012-10-28 20:21:45 +00:00
Tom Christie
795f611663 Merge pull request #332 from tomchristie/tutorial-refactor
Improve fields docs
2012-10-28 13:18:51 -07:00
Tom Christie
3906ff0df5 Improve fields docs 2012-10-28 20:18:02 +00:00
Tom Christie
3d3df22d82 Merge pull request #330 from tomchristie/tutorial-refactor
Tutorial refactor
2012-10-28 12:42:10 -07:00
Tom Christie
db635fa632 Minor fixes 2012-10-28 19:37:27 +00:00
Tom Christie
fde79376f3 Pastebin tutorial 2012-10-28 19:25:51 +00:00
Tom Christie
12c363c1fe TemplateHTMLRenderer, StaticHTMLRenderer 2012-10-28 18:12:56 +00:00
Tom Christie
d995742afc Add AllowAny permission 2012-10-27 20:04:33 +01:00
Tom Christie
51a6401926 Added @madisvain. Thanks! 2012-10-27 18:47:17 +01:00
Tom Christie
cef379db06 2.0 Announcement 2012-10-27 18:39:17 +01:00
Tom Christie
ec1429ffc8 Tweaks 2012-10-27 17:27:12 +02:00
Jamie Matthews
5180b72565 Documentation for function-based view decorators 2012-10-27 13:53:07 +01:00
Tom Christie
c221bc6f6f Use context dict in HTMLRenderer 2012-10-26 17:30:45 +02:00
Tom Christie
d4063eb02e Fix incorrect method signature in docs 2012-10-26 12:46:31 +01:00
Tom Christie
365d20652e Add analytics 2012-10-26 09:30:46 +01:00
Tom Christie
195006bbc3 Drop resources from codebase since implementation is only partial (Created resoorces-routers branch for future reference) 2012-10-26 09:27:59 +01:00
Tom Christie
c7a916a979 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-25 17:01:37 +01:00
Tom Christie
04ae32c934 remove no-site-packages since that's now the default 2012-10-25 17:01:00 +01:00
Jamie Matthews
41d27b1a30 Fix section headings in generic views docs 2012-10-25 14:22:36 +01:00
Jamie Matthews
1ceca69e5f Update generic view documentation 2012-10-25 13:50:48 +01:00
Tom Christie
0aed70dc8b Added @diviei - Thanks! 2012-10-24 20:50:45 +02:00
Tom Christie
d97c712124 Fix typo reported by @diviei 2012-10-24 20:49:09 +02:00
Jamie Matthews
d60d598e02 Clean up internal names and documentation 2012-10-24 11:43:30 +01:00
Jamie Matthews
ac2d39892d Add cross-field validate method 2012-10-24 11:39:17 +01:00
Jamie Matthews
388a807f64 Switch from clean_<fieldname> to validate_<fieldname>, clarify documentation 2012-10-24 11:27:01 +01:00
Jamie Matthews
51fae73f3d Implement per-field validation on Serializers 2012-10-24 09:28:10 +01:00
Marko Tibold
aba0172f5c Update docs/api-guide/fields.md
Fix typo.
2012-10-22 21:31:15 +03:00
Tom Christie
95a670de41 Merge field changes: .default and .widget 2012-10-22 15:24:09 +01:00
Tom Christie
13d0a82939 Minor docs tweaks 2012-10-21 17:40:49 +01:00
Marko Tibold
65d4970bf7 Changed IsAdmin -> IsAdminUser in example 2012-10-21 16:34:50 +02:00
Marko Tibold
71a93930fd Fixing spelling errors. 2012-10-21 16:34:07 +02:00
Tom Christie
efabd2bb1b docs, docs, docs, docs, docs, docs, docs 2012-10-19 19:59:55 +01:00
Tom Christie
0c65d9babe Merge pull request #304 from tomchristie/consitent_settings
Make settings consistent with corrosponding view attributes
2012-10-18 04:46:01 -07:00
Tom Christie
e8f542aac8 Minor docs fix 2012-10-18 09:19:38 +01:00
Tom Christie
fed235dd01 Make settings consistent with corrosponding view attributes 2012-10-17 23:09:11 +01:00
Tom Christie
e126b61542 Negotiation API finalized. .select_renderers and .select_parsers 2012-10-17 22:58:18 +01:00
Tom Christie
fb56f215ae Added media_type to .parse() - Consistency with renderer API. 2012-10-17 22:39:07 +01:00
Tom Christie
4231995fbd parser_context includes view, request, args, kwargs. (Not meta and upload_handlers)
Consistency with renderer API.
2012-10-17 22:19:59 +01:00
Tom Christie
99d48f9003 Drop .parse_string_or_stream() - keep API minimal. 2012-10-17 22:07:56 +01:00
Tom Christie
6717d654d0 Added @rdobson. Thanks! 2012-10-17 21:57:34 +01:00
Tom Christie
cab4a2a5ad Split up doc sections more cleanly 2012-10-17 15:41:57 +01:00
Tom Christie
b78872b7db Use two seperate exceptions - AuthenticationFailed, and NotAuthenticated
Cleaner seperation of exception and resulting HTTP response.
Should result in more obvious error messages.
2012-10-17 15:23:36 +01:00
Tom Christie
a4d500ba10 Use correct status code 2012-10-17 15:10:11 +01:00
Tom Christie
5ae49a4ec4 Add docs for 401 vs 403 responses 2012-10-17 14:59:53 +01:00
Tom Christie
4c17d1441f Add Unauthenticated exception. 2012-10-17 14:59:37 +01:00
Tom Christie
bd8360c826 Highlight use of permissions alnog with authentication 2012-10-17 14:02:30 +01:00
Tom Christie
b5daa40852 Docs tweaks 2012-10-17 13:51:22 +01:00
Tom Christie
75ebf895ac Added @eofs. Thanks! 2012-10-17 13:51:22 +01:00
Tom Christie
9c1fba3483 Tweak parsers to take parser_context 2012-10-15 13:27:50 +01:00
Jens Alm
c942726509 Added docs, integer fields and refactored models.TextField to use CharField
I realized that per the django forms, there is no need for a separate
TextField, an unlimited CharField is perfectly good.
Also added default field for the different IntegerField types
2012-10-15 13:46:44 +02:00
Tom Christie
41dd63b3b0 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-14 22:43:41 +01:00
Tom Christie
551c86c43a Documentation for parsers 2012-10-14 22:43:07 +01:00
Tom Christie
7a89d7a770 Work on docs 2012-10-14 20:46:38 +01:00
Tom Christie
27b8904ffe Fix typo 2012-10-13 23:28:05 +02:00
Tom Christie
b3477b3b6c Docs tweaks 2012-10-13 15:34:38 +01:00
Tom Christie
fe5db41949 Fix typo 2012-10-13 15:12:44 +01:00
Tom Christie
e4f43be47f Merge pull request #293 from tomchristie/request-documentation
Improve documentation for Requests
2012-10-13 07:10:12 -07:00
Tom Christie
7608cf1193 Improve documentation for Requests 2012-10-13 15:07:43 +01:00
Jamie Matthews
7367bd53a9 Fix tiny typo 2012-10-12 10:02:21 +02:00
Tom Christie
648d2be29b Make sure JSON output in Browseable API is nicely indented 2012-10-10 12:15:18 +01:00
Tom Christie
ccd2b0117d Permissions and throttles no longer have a view attribute on self. Explicitly passed to .has_permissions(request, view, obj=None) / .allow_request(request, view) 2012-10-10 10:02:37 +01:00
Tom Christie
44281c3996 Remove 'tut 6 - resources' from the docs, since it doesn't exist yet 2012-10-10 09:36:18 +01:00
Tom Christie
9bbc1cc403 Add flag in get_related_field 2012-10-09 17:49:04 +01:00
Tom Christie
b0c370dd2b Fixed couple of incorrect imports in the docs 2012-10-09 17:36:03 +01:00
Tom Christie
52a2ff8f77 Docs tweaks 2012-10-09 16:44:49 +01:00
Tom Christie
97a7f27c82 Rename HTMLTemplateRenderer -> HTMLRenderer, DocuemntingHTMLRenderer -> BrowseableAPIRenderer 2012-10-09 15:58:48 +01:00
Tom Christie
ce21fa1dc6 Tweak static files with docs 2012-10-09 14:12:38 +01:00
Tom Christie
94401b43d2 Flesh out quickstart guide and make some style tweaks 2012-10-09 13:50:26 +01:00
Tom Christie
7c4d50f621 Fix browseable API form display error for authenticated permissions 2012-10-09 12:48:49 +01:00
Tom Christie
e9475d036f Tweak settings in quickstart guide 2012-10-09 12:03:29 +01:00
Tom Christie
115e61be09 Added quickstart guide 2012-10-09 12:01:17 +01:00
Tom Christie
65f592866c Fix issue where required fields were not being properly validated. Also make model fields with a default value be not required 2012-10-08 17:53:18 +01:00
Tom Christie
b581ffe323 Docs tweaks 2012-10-08 15:46:52 +01:00
Tom Christie
9ade21c793 Fix broken docs reference 2012-10-08 14:26:42 +01:00
Tom Christie
f79ed6175d Add RetrieveDestroyAPIView and remove Metadata mixin 2012-10-08 14:13:15 +01:00
Tom Christie
4fd8ab17a3 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-08 12:18:43 +01:00
Tom Christie
f4d4d54e03 Adding migration and changelog docs 2012-10-08 12:17:43 +01:00
Tom Christie
321d4d030a Added @mattbo, @maximilianhurl. Thanks! 2012-10-07 21:30:06 +02:00
Tom Christie
6b6c945d4e Fix up media-specific doc styling issues 2012-10-06 20:05:36 +01:00
Tom Christie
fd1b660e06 DabApps, not Dab Apps 2012-10-05 19:33:13 +01:00
Tom Christie
9bc4aead65 Tweak fields docs 2012-10-05 19:26:57 +01:00
Tom Christie
0b08d25297 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-05 19:26:45 +01:00
Tom Christie
268131ce37 Add serializer fields documentation 2012-10-05 17:10:07 +01:00
Tom Christie
4e7fffa993 Merge pull request #284 from maximilianhurl/doc-styles
Added sticky footer and styles to HTML API page
2012-10-05 09:04:17 -07:00
Tom Christie
cc21948a69 Fix django 1.3 bug 2012-10-05 17:02:33 +01:00
Max Hurl
101f06b50b Added dabapps styling to html api 2012-10-05 17:00:24 +01:00
Max Hurl
bdbf988781 Added sticky footer to docs 2012-10-05 16:32:41 +01:00
Tom Christie
272fddc952 Fix bug in format suffix patterns 2012-10-05 15:37:50 +01:00
Tom Christie
9ac6fcf19c Add favicon to docs 2012-10-05 15:26:15 +01:00
Tom Christie
84958d131a Doc style tweaks 2012-10-05 15:22:30 +01:00
Tom Christie
3e862c7737 Tweak view slightly 2012-10-05 14:22:02 +01:00
Tom Christie
6a15556384 Docs tweaks 2012-10-05 14:00:02 +01:00
Tom Christie
1a09983dfc Tweak doc headings 2012-10-05 13:51:09 +01:00
Tom Christie
2455bebd87 Merge pull request #282 from tomchristie/html-template-responses
Html template responses
2012-10-05 05:11:17 -07:00
Tom Christie
61a6d0c109 Fix travis build image in docs 2012-10-05 13:09:10 +01:00
Tom Christie
2575ea92aa Docs for template responses 2012-10-05 13:04:34 +01:00
Max Hurl
5fd6d87a93 Added JS version numbers 2012-10-05 12:43:35 +01:00
Max Hurl
f70a5edc1f Added dabapps styles and general improvements to docs 2012-10-05 12:29:53 +01:00
Tom Christie
26c7d6df6c HTMLTemplateRenderer working 2012-10-05 12:13:44 +01:00
Tom Christie
d07dc77e91 Accepted media type uses most specific of client/renderer media types. 2012-10-05 10:23:47 +01:00
Tom Christie
bcd2caf559 Abstract out the app_label on test models 2012-10-04 09:18:46 +01:00
Tom Christie
d8b05201ed Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-03 09:46:12 +01:00
Tom Christie
c30e0795be Rename generic views 2012-10-03 09:26:15 +01:00
Matt Bosworth
934492ebd0 Fixed references to serializer.serialized and serializer.serialized_errors
in part 3 of the tutorial.  Altered part 1 to use blogs/urls.py since it was
specified at the beginning.  Also caught some spelling errors while I was at it.
2012-10-02 22:41:03 -07:00
Tom Christie
b89125ef53 Update view docs slightly 2012-10-02 21:26:15 +01:00
Tom Christie
e1518de68f Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-10-02 19:54:24 +01:00
Tom Christie
31b06f1721 Cleaner travis image link 2012-10-02 19:54:20 +01:00
Tom Christie
ab173fd8f9 Fix bug where pk could be set in post data 2012-10-02 15:37:13 +01:00
Tom Christie
e7685f3eb5 URL overrides in settings fixed up slightly 2012-10-02 15:24:42 +01:00
Tom Christie
8855a462c6 Clean up docs slightly 2012-10-02 11:48:25 +01:00
Tom Christie
b526b82abf Placeholder for FBV docs 2012-10-02 11:04:06 +01:00
Tom Christie
34637bf857 Make example more realistic and less of a toy 2012-10-02 11:03:51 +01:00
Tom Christie
ae8a827004 Make 'results_field' attribute of BasePaginationSerializer public. 2012-10-02 10:40:43 +01:00
Tom Christie
2284e592de Clean up reverse docs slightly 2012-10-02 10:40:04 +01:00
Tom Christie
a8f6ac3f3a Renderer documentation 2012-10-02 10:39:28 +01:00
Tom Christie
dae6d09398 Add example of using paginator in a view 2012-10-01 16:27:22 +01:00
Tom Christie
8d1d990187 Pagination docs 2012-10-01 16:17:01 +01:00
Tom Christie
b16fb57771 Expand pagination support, add docs 2012-10-01 15:49:19 +01:00
Tom Christie
43d3634e89 Docs tweaking 2012-09-30 15:55:24 +01:00
Tom Christie
aeeb68f68a Added @j4mie, and added projects to 'additional thanks' as appropriate. 2012-09-28 10:42:14 +01:00
Tom Christie
ee36e4ab0c Only display forms when user has permissions. #159 2012-09-27 21:51:46 +01:00
Tom Christie
8582b18ac4 Added @cyberj. Thanks! 2012-09-27 14:29:14 +02:00
Tom Christie
89a0b22306 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-09-27 13:06:34 +01:00
Tom Christie
061cffb67b Added citation to contributing docs 2012-09-27 12:49:08 +01:00
Tom Christie
da1f6df4fa Added @LaundroMat. Thanks! 2012-09-26 23:07:59 +02:00
Tom Christie
0cc7030aab Fix @api_view decorator tests 2012-09-26 21:47:19 +01:00
Tom Christie
6fc5581a8f Add readonly 'id' field 2012-09-25 13:40:16 +01:00
Tom Christie
4fb57d28e6 Add csrf note 2012-09-25 12:27:46 +01:00
Tom Christie
921c5840aa Fix incorrect bit of tutorial 2012-09-25 12:21:35 +01:00
Tom Christie
4b691c4027 Change package name: djangorestframework -> rest_framework 2012-09-20 13:06:27 +01:00
Tom Christie
db13401af0 Added @phobologic. Thanks\! 2012-09-19 17:06:43 +01:00
Tom Christie
575630d7c3 Use named links in tutorial docs 2012-09-19 13:02:10 +01:00
Tom Christie
5611769162 Merge branch 'restframework2' of https://github.com/tomchristie/django-rest-framework into restframework2 2012-09-17 20:20:27 +01:00
Tom Christie
308677037f Tweak docs, fix .error_data -> .errors 2012-09-17 20:19:45 +01:00
Alec Perkins
43c2a15f9d Prevent the touchstart event propagation on the dropdown menus in the navbar.
This allows the dropdowns to be used on a touch device.
2012-09-17 10:01:44 -04:00
Tom Christie
a96211d3d1 Simplify negotiation. Drop MSIE hacks. Etc. 2012-09-16 21:48:55 +01:00
Tom Christie
a5213d4023 Drop urlobject2 2012-09-14 13:24:13 +01:00
Tom Christie
f204439fa8 Merge branch 'browsable-bootstrap' of https://github.com/droptype/django-rest-framework into droptype-browsable-bootstrap 2012-09-14 12:52:12 +01:00
Tom Christie
eb761be9d0 Flesh out resources/routers part of tutorial 2012-09-14 12:43:14 +01:00
Tom Christie
886f8b4751 Tweak throttles and improve docs 2012-09-14 08:54:58 +01:00
Tom Christie
3005079824 Drop GitHub button from docs on small screens 2012-09-13 18:39:08 +01:00
Tom Christie
d8b5d6603e Tweak copy 2012-09-13 18:35:06 +01:00
Tom Christie
6c109ac60f Improve throttles and docs 2012-09-13 18:32:56 +01:00
Tom Christie
b16c45aa6d Tweak throttling/permissions/auth docs 2012-09-13 09:39:16 +01:00
Tom Christie
003a65f0e0 Tweaks to Token auth 2012-09-12 20:39:22 +01:00
Tom Christie
dac4cb9e8b GitHub link in toolbar 2012-09-12 13:11:26 +01:00
Tom Christie
c85f799ade Updating docs 2012-09-12 10:12:13 +01:00
Alec Perkins
4cbc53a75d Whoops, forgot to explain these. 2012-09-09 17:27:24 -04:00
Alec Perkins
9684b3fe22 Reference-style links. Much cleaner. 2012-09-09 17:07:54 -04:00
Alec Perkins
60e6bba12b Browsable API doc topic 2012-09-09 17:02:19 -04:00
Tom Christie
d4f8b4cf06 Collapsing menu, travis and github badges, horizontal scrolling code on overflow 2012-09-09 16:56:04 +01:00
Tom Christie
baa6e2c18b Hide toc overflow 2012-09-08 22:31:44 +01:00
Tom Christie
b5e07abc15 Move quote below title for consistency 2012-09-08 22:13:11 +01:00
Tom Christie
247696e820 Links to source files in docs 2012-09-08 22:06:13 +01:00
Tom Christie
5d9dfcd8ae Code highlighting in docs 2012-09-08 20:23:32 +01:00
Tom Christie
382b277dfc Link to github accounts in credits 2012-09-08 08:41:31 +01:00
Tom Christie
79144919f6 Added @alecperkins. 2012-09-08 08:38:14 +01:00
Tom Christie
8f119a8c34 Merge pull request #253 from droptype/rf2-docfixes
Fixes for the documentation styles
2012-09-07 15:25:58 -07:00
Tom Christie
80c50bfd2d Merge pull request #252 from markotibold/docs-fixes
Some minor docs fixes
2012-09-07 14:12:32 -07:00
Marko Tibold
8ee763739d Add some missing imports.
Fix some typos.
Fix some indentation errors.
2012-09-07 22:53:02 +02:00
Mjumbe Wawatu Poe
8df71f4d1d Get rid of the BaseToken abstract model 2012-09-07 16:19:15 -04:00
Mjumbe Wawatu Poe
f741cdae44 Move TokenAuthentication class into djangorestframework.authentication 2012-09-07 16:15:33 -04:00
Alec Perkins
f95f96aba7 [docs] Fix typo, add link to Tom's Twitter profile 2012-09-07 14:31:24 -04:00
Mjumbe Wawatu Poe
3b1404bd7d Rename the default token class to "BasicToken" 2012-09-07 14:23:53 -04:00
Mjumbe Wawatu Poe
36cd91bbbe Update docs for tokenauth 2012-09-07 14:12:46 -04:00
Alec Perkins
7f681d72fc [docs] Update jQuery to 1.8.1 2012-09-07 14:12:29 -04:00
Alec Perkins
30dedc95e5 [docs] Spacing tweaks when getting responsive. 2012-09-07 13:52:44 -04:00
Alec Perkins
6d7d70c1c0 [docs] Move styles to own file. Fix table-of-contents positioning when viewed on <767px screens.
The fixed positioning of the ToC needs to be overridden with static, so that the ToC falls back into the flow of content and is sized correctly. Also, this prevents the actual page content from riding up behind the ToC and being obscured.
2012-09-07 13:05:44 -04:00
Alec Perkins
17654a8b54 [docs] Add bootstrap-collapse plugin, fixing collapsing navbar. 2012-09-07 13:01:30 -04:00
Alec Perkins
3306e448ef [docs] Update Bootstrap to 2.1.1 2012-09-07 13:01:01 -04:00
Tom Christie
72bdd0fcec Add basic serializer tests 2012-09-07 15:14:23 +01:00
Tom Christie
a01d615354 Add note re. browseable API and @api_view decorator 2012-09-07 13:55:02 +01:00
Tom Christie
215de9af81 Tidy up 2012-09-07 10:17:47 +01:00
Tom Christie
da5a6243f3 Filling out docs a bit more 2012-09-07 09:37:06 +01:00
Tom Christie
c648f2786f TODO notes in docs 2012-09-06 16:46:56 +01:00
Tom Christie
c707034649 Add more settings to settings.py 2012-09-06 15:57:16 +01:00
Tom Christie
224b538b31 Tidying up docs 2012-09-05 21:14:00 +01:00
Tom Christie
3a106aed79 Flesh out authentication docs 2012-09-05 20:10:06 +01:00
Tom Christie
15482f443a Make index consistent 2012-09-05 18:25:48 +01:00
Tom Christie
ef5279e97c Improve docs 2012-09-05 13:03:55 +01:00
Tom Christie
3a17723bd5 Update api auth include 2012-09-05 10:41:41 +01:00
Tom Christie
40d1821f2d Add missing doc files 2012-09-05 10:01:43 +01:00
Tom Christie
6e21915934 First pass at mixins & generic views 2012-09-03 17:49:22 +01:00
Tom Christie
1a1ccf94c2 Fixes to APIView 2012-09-03 16:42:57 +01:00
Tom Christie
93189ec27d Added format_suffix_patterns, and fix up settings 2012-09-03 16:06:17 +01:00
Tom Christie
149b00a070 Added the api_view decorator 2012-09-03 15:57:43 +01:00
Tom Christie
7abef9ac3b Parsers may return raw data, or a DataAndFiles object 2012-09-03 14:28:40 +01:00
Tom Christie
d180e984e9 Neater virtualenv in tutorial 2012-09-03 13:44:49 +01:00
Tom Christie
a25b4be441 Support generators 2012-09-03 13:30:20 +01:00
Tom Christie
ebbaff0853 Update virtualenv notes 2012-09-03 13:10:39 +01:00
Tom Christie
247a422a64 Add virtualenv to start of tutorial 2012-09-03 12:41:52 +01:00
Tom Christie
c191a46ef0 Update credits 2012-09-03 12:19:16 +01:00
Tom Christie
ddc8c30317 Cleaner documentation around installation of optional packages 2012-09-03 12:11:57 +01:00
Tom Christie
73d337ea5d Fix credits doc 2012-09-01 23:14:48 +01:00
Tom Christie
b9177f740b Docs tweak for first docs deployment 2012-09-01 21:35:30 +01:00
Tom Christie
9941556474 Get docs ready to deploy 2012-09-01 21:23:50 +01:00
Tom Christie
deedf6957d REST framework 2 docs 2012-09-01 20:26:27 +01:00
Tom Christie
578017e01d New docs 2012-08-29 20:57:37 +01:00
Tom Christie
44df8345f3 Merge with master 2012-04-11 15:28:57 +01:00
Tom Christie
1751655927 Update docs/requirements.txt 2012-02-27 10:06:20 +00:00
Tom Christie
1cde31c86d Massive merge 2012-02-25 18:45:17 +00:00
Tom Christie
66eabe8bd1 Remove staticviews. Use standard login/logout 2012-02-21 22:50:41 +00:00
Tom Christie
5fd4c639d7 Merge master into develop 2012-02-21 20:57:36 +00:00
Tom Christie
ca9465f11e reverse gets it's own module 2012-02-21 20:47:55 +00:00
Tom Christie
af9e4f69d7 Merging master into develop 2012-02-21 20:12:14 +00:00
Daniel Izquierdo
8f5b093c0d Include the `utils' module in the docs 2012-02-21 22:51:32 +09:00
Daniel Izquierdo
86d470796e Add a HOWTO page for the custom `reverse()' 2012-02-21 22:51:32 +09:00
Tom Christie
6c5fb56257 Update docs 2012-02-20 20:31:41 +00:00
Paul Oswald
50198935af Rename templates to 'base.html', 'api.html', 'api.txt' and 'login.html' 2012-02-20 22:16:51 +09:00
Tom Christie
fbf76c87af Merge git://github.com/sebpiq/django-rest-framework into develop 2012-02-17 09:19:13 +00:00
Paul Oswald
bf717eff64 Documentation on how to override the template; Closes Issue #165 2012-02-15 10:38:25 +09:00
Paul Oswald
9c8ca51c78 Delete robots.txt, favicon.ico views; Move style to a new static namespace 2012-02-14 11:25:59 +09:00
Sébastien Piquemal
6963fd3623 some docs for Request/Response/mixins 2012-02-07 16:22:14 +02:00
Sébastien Piquemal
5f59d90645 merged with trunk's master 2012-02-02 08:39:15 +02:00
Marko Tibold
39d4a39441 renamed to CHANGELOG.rst and included release notes in index.rst 2012-01-30 18:29:54 +01:00
Sébastien Piquemal
152c385f4d enhanced request how-to + example 2012-01-25 00:11:54 +02:00
Sébastien Piquemal
714a90d755 documentation for request module 2012-01-24 21:21:10 +02:00
Marko Tibold
ccbb536896 Merge remote-tracking branch 'upstream/master' 2012-01-02 21:17:12 +01:00
Marko Tibold
e0b82ce76d minor style edits 2012-01-02 21:16:44 +01:00
Tom Christie
17290b0beb Add 1.4 2012-01-02 18:39:55 +00:00
Tom Christie
0b21af9388 Drop mercurial reference. 2012-01-02 18:31:46 +00:00
Marko Tibold
7a3d97a2fc :mod: directive is nicer here 2012-01-02 18:42:22 +01:00
Marko Tibold
9871532746 Added an example of how to use authentication and throttling. 2012-01-02 18:12:22 +01:00
Marko Tibold
e419e2066f Colouring of literal code
Get the nice colouring sphinx provides and fix some more typos.
2011-12-30 19:03:05 +01:00
Marko Tibold
e44f182fcf typos 2011-12-30 18:52:15 +01:00
Marko Tibold
e82ab8ea31 Added a simple example of how to use urllib and urllib2 to interact
with an api.
2011-12-30 18:46:18 +01:00
Marko Tibold
28f1b027aa Merge remote-tracking branch 'origin/master' 2011-12-30 16:17:12 +01:00
Marko Tibold
abf0ee8b97 some more refactoring and some style enhancements. Just committing
to stay in sync.
2011-12-30 16:13:24 +01:00
Marko Tibold
a1d31c8a3a drop linkchecking 2011-12-30 16:01:15 +01:00
Marko Tibold
1b28339e5b Merge remote-tracking branch 'upstream/master' 2011-12-30 01:37:32 +01:00
Marko Tibold
91cee26ad8 Some initial refactoring of the docs. 2011-12-30 01:36:43 +01:00
Tom Christie
d87113ff60 For now just point the examples at rest.ep.io
Would be nice to keep the custom subdomain, but too much of a PITA
right now.
2011-12-29 13:54:39 +00:00
Marko Tibold
1096e06c2d set linkcheck_timeout to very large, to prevent timeouts on the CI. 2011-12-21 02:23:26 +01:00
Marko Tibold
c509c2bff2 Merge remote-tracking branch 'upstream/master' 2011-12-15 14:56:47 +01:00
Marko Tibold
beccc54d11 Update docs/howto/setup.rst 2011-12-15 14:56:01 +01:00
Marko Tibold
59904576a2 reduced output to errors and warnings only 2011-12-15 12:25:56 +01:00
Marko Tibold
670dbe6d75 Don't output html to a tempdir, but keep them. 2011-12-15 01:16:09 +01:00
Marko Tibold
0f16db7614 see previous commit message. 2011-12-15 00:31:57 +01:00
Marko Tibold
e2b9359a2d Adding a docs env to the tox project.
This will run the linkcheck and build the html docs, turning any warnings into
errors.
Also changed the theme to sphinx-doc and added version to be displayed in the
docs.
2011-12-15 00:27:29 +01:00
Marko Tibold
ac18bea009 deleted reference to bitbucket from the docs 2011-12-12 20:53:10 +01:00
Tom Christie
59afd87cd4 We do not have a blog. We do not host on BitBucket. 2011-12-09 11:28:50 +00:00
Tom Christie
1cb84cd4e8 Merge throttling and fix up a coupla things 2011-06-15 14:41:09 +01:00
Tom Christie
7dcb851c7f Allow related models to be fully serialized 2011-06-15 14:09:01 +01:00
Tom Christie
412b5fc2d5 Support for nesting resources etc...
--HG--
rename : djangorestframework/tests/resources.py => djangorestframework/tests/serializer.py
2011-06-14 18:22:13 +01:00
markotibold
1720c44904 I added a dns record to my domain: jenkins.tibold.nl 2011-06-13 14:44:12 +02:00
Tom Christie
0da291fad3 Fix up the example 2011-06-09 02:07:46 +01:00
Tom Christie
3531b0b355 More updating docs for 0.2
--HG--
rename : docs/examples/modelresources.rst => docs/examples/modelviews.rst
rename : docs/examples/resources.rst => docs/examples/views.rst
2011-06-02 16:03:11 +01:00
Tom Christie
bf9ea978bc Updating docs for 0.2 2011-06-02 15:22:14 +01:00
Tom Christie
5591a71a13 updating docs for 0.2 2011-06-02 13:34:23 +01:00
markotibold
82c4ca9612 The core is now documented from the docstrings in the source. 2011-05-19 19:36:30 +02:00
Tom Christie
bfbb8ceccf Merge Marko's doc improvements. 2011-05-17 09:15:35 +01:00
markotibold
66b9bda9bf All top level modules are included. Ready for diving into the modules and documenting/ enhancing already existing docs. 2011-05-17 00:18:45 +02:00
markotibold
304786657a Getting rid of all errors and warnings that show up when building the docs, to make a clean start with the library documentation .
--HG--
rename : docs/library/authenticators.rst => docs/library/authentication.rst
rename : docs/library/emitters.rst => docs/library/renderers.rst
2011-05-16 23:54:35 +02:00
markotibold
032cb79592 fix tiny spelling errors 2011-04-27 22:28:08 +02:00
Tom Christie
683a862ddf Docs impovement 2011-04-27 18:25:11 +01:00
tom christie tom@tomchristie.com
bba89cbcf1 Doc tweaking again. Must get back to some proper stuff soon... 2011-03-05 21:55:45 +00:00
tom christie tom@tomchristie.com
69c567cd87 Doc tweaking again. Must get back to some proper stuff soon... 2011-03-05 21:49:06 +00:00
tom christie tom@tomchristie.com
60206e5288 ./examples/modelresourceexample/models.py 2011-03-03 09:02:41 +00:00
tom christie tom@tomchristie.com
0798cc141f More nonsense in the docs 2011-02-22 22:54:09 +00:00
tom christie tom@tomchristie.com
8685357e97 Add the .zip download to the docs 2011-02-22 00:03:15 +00:00
tom christie tom@tomchristie.com
aae848cace Nitpicking 2011-02-21 22:23:09 +00:00
tom christie tom@tomchristie.com
92dd13912a Add pip/easy_install to the docs 2011-02-21 22:21:49 +00:00
tom christie tom@tomchristie.com
bddcacefe7 Minor notes on installation 2011-02-19 19:19:32 +00:00
tom christie tom@tomchristie.com
ec5eaa56c1 Minor notes on installation 2011-02-19 19:15:16 +00:00
tom christie tom@tomchristie.com
114738ca72 Add setup.py 2011-02-19 18:41:23 +00:00
tom christie tom@tomchristie.com
38c6a37af7 Minor doc tweaks 2011-02-19 15:50:40 +00:00
tom christie tom@tomchristie.com
66f595f41a Link to django docs on serving admin media 2011-02-19 13:36:38 +00:00
tom christie tom@tomchristie.com
5ddc941656 Mention deny robots, favicon and login/logout views 2011-02-19 13:28:21 +00:00
tom christie tom@tomchristie.com
eac562b2ec Note the sandbox API a couple more times, just in case they didn't get the message yet. 2011-02-19 13:22:12 +00:00
tom christie tom@tomchristie.com
e4fff6ea6e Clean up the docs 2011-02-19 13:12:35 +00:00
tom christie tom@tomchristie.com
fcd7f414c4 Huge stack of refactoring getting stuff into Mixin classes, and loads of tests. Kickass. 2011-02-04 21:52:21 +00:00
tom christie tom@tomchristie.com
eebcdc4dc0 typo 2011-02-04 21:41:53 +00:00
tom christie tom@tomchristie.com
b4e8ecbec7 More improving of docs 2011-02-02 08:44:47 +00:00
tom christie tom@tomchristie.com
fa1ec50765 More improving of docs 2011-02-02 08:43:27 +00:00
tom christie tom@tomchristie.com
02c29db857 Updated docs with resourceexample 2011-02-01 23:08:18 +00:00
tom christie tom@tomchristie.com
3a8facdb2a Remove Google Analytics from template 2011-02-01 22:38:39 +00:00
tom christie tom@tomchristie.com
6ce5b643fb Added resourceexample, moved simpleexample to modelresourceexample 2011-02-01 22:37:51 +00:00
tom christie tom@tomchristie.com
0c6f682cd0 Fix errant uppercasing in docs 2011-02-01 20:00:16 +00:00
tom christie tom@tomchristie.com
38f6d7c119 Remove remaining bit of google analytics in template 2011-02-01 19:58:11 +00:00
tom christie tom@tomchristie.com
478dc2d0ce Fix up doc title & desc, fix repo link 2011-02-01 19:55:57 +00:00
tom christie tom@tomchristie.com
98b5b2abd8 Minor docs changes 2011-01-31 08:48:26 +00:00
tom christie tom@tomchristie.com
9024c2e94e Going live 2011-01-31 08:41:21 +00:00
tom christie tom@tomchristie.com
42f2f9b40d Rename to django-rest-framework, get simpleexample working 2011-01-30 18:30:39 +00:00
tom christie tom@tomchristie.com
8a470f031e Minor changes to examples and docs 2011-01-30 16:51:06 +00:00
tom christie tom@tomchristie.com
f6e534321a Move library docs into seperate folder 2011-01-30 11:02:14 +00:00
tom christie tom@tomchristie.com
250ab0f609 Lots of docs, trying to tidy up examples... 2011-01-30 11:00:20 +00:00
Tom Christie
40f47a9fb3 Minor bit of tidy up (all the stuff I noticed when demoing to francis) 2011-01-28 17:42:57 +00:00
tom christie tom@tomchristie.com
110bf85aeb ./flywheel/emitters.py 2011-01-27 22:00:34 +00:00
tom christie tom@tomchristie.com
6807cf014c Added pygments_api example 2011-01-26 08:58:09 +00:00
tom christie tom@tomchristie.com
eff54c00d5 Added authenicators. Awesome. 2011-01-24 18:59:23 +00:00
tom christie tom@tomchristie.com
4100242fa2 Sphinx docs, examples, lots of refactoring 2011-01-23 23:08:16 +00:00
Tom Christie
9979903272 Mostly improving documentation 2011-01-17 17:34:58 +00:00