Martin Di Palma
7449e29cf7
Links issues
...
The following items had a wrong href value:
- Dont require pk strictly for related fields. (#2745 , #2754 )
- Restrict integer field to integers and strings. (#2835 , #2836 )
2015-05-25 02:24:11 -03:00
André Ericson
e6e5a27836
Add Classy Django REST Framework(cdrf.co) to Third Party Resources
2015-05-22 17:18:59 -03:00
Xavier Ordoquy
6add1acc4e
Add a few cosmetic changes to the release notes.
2015-05-14 11:18:18 +02:00
Xavier Ordoquy
475e431055
Fix the broken links.
2015-05-14 11:15:26 +02:00
Xavier Ordoquy
1a8c0b4bfc
Merge pull request #2930 from linovia/release/3.1.2
...
Release 3.1.2
2015-05-14 10:57:33 +02:00
Xavier Ordoquy
47d36f150b
Add last minute PR.
2015-05-13 18:24:06 +02:00
Tom Christie
ea1145c5aa
Merge pull request #2905 from ticosax/django-object-perm-get_queryset
...
Allow DjangoObjectPermissions to use views that define get_queryset
2015-05-13 13:39:59 +01:00
Nicolas Delaby
031ac2a292
Allow DjangoObjectPermissions to use views that define get_queryset
2015-05-13 14:26:44 +02:00
Xavier Ordoquy
5c8df2c56b
Release notes for 3.1.2
2015-05-13 09:44:04 +02:00
Don Kirkby
0b8dd906cf
minor grammar fix
2015-05-08 15:28:30 -07:00
Jonathan Ellenberger
44317b4581
Adding django-versatileimagefield to DRF 3rd party docs
...
Closes WGBH/django-versatileimagefield#12
2015-05-07 14:23:24 -04:00
José Padilla
3a96164501
Merge pull request #2914 from trollknurr/master
...
Added link to djangorestframework-word-filter package
2015-05-06 12:11:04 -04:00
tony
b0b26d6b68
Added link to djangorestframework-word-filter package
2015-05-06 13:40:01 +03:00
S. Andrew Sheppard
e9b6b47872
update info about wq.db.rest router
2015-05-05 13:38:14 -05:00
Tom Christie
2e85b4ec3c
Merge pull request #2890 from radyz/fixed-doc-for-get-paginated-response-method
...
Document correct method usage for get_paginated_response
2015-05-05 09:15:28 +01:00
lowid
5c3c4802d3
Delete imported but not used method
...
In 'Generating Tokens' section, the example code imported get_user_model but not used.
2015-05-04 18:15:49 +08:00
Ernesto Chavez Sanchez
2b4dd739cc
Fixed description for get_paginated_response method in generic-views and example using it with @list_route decorator in viewsets.
2015-05-03 22:00:05 +00:00
Tymur Maryokhin
d19c3cc973
Remove deprecated model
attribute reference. Closes #2896 .
2015-05-01 20:32:52 +02:00
Ernesto Chavez Sanchez
0ffb0abe81
Document correct method usage for get_paginated_response in 3.x instead
...
of old get_pagination_serializer only valid in 2.x
2015-04-30 02:23:39 +00:00
José Padilla
2b6726e703
Merge pull request #2842 from frnc/patch-1
...
Update 5-relationships-and-hyperlinked-apis.md
2015-04-26 12:13:57 -04:00
Valentin Hăloiu
e148637d6d
Frontpage example no longer uses model attribute
2015-04-23 04:44:10 +03:00
zmmachar
237c2ebc26
Update renderers.md
...
jsonp renderer not in the yaml package
2015-04-21 18:09:55 -07:00
Cody Scott
cbf17a5ffe
Specifying module for CurrentUserDefault()
...
Prevents having to lookup the import
2015-04-20 19:14:58 -04:00
frnc
601cbf18d4
Update 5-relationships-and-hyperlinked-apis.md
...
Following [@jpadilla](https://github.com/jpadilla )'s suggestion in issue [#2837 ](https://github.com/tomchristie/django-rest-framework/issues/2837 ), I am proposing a little addition in "Creating an endpoint for the root of our API" section in order to make it clear that the `user-list` and `snippet-list` names will be declared later in `snippets/urls.py`. Missing this clarification might lead a beginner (like me) to think that the names are somehow assigned by rest_framework under the hood and to try the code too early, getting stuck in the following errors.
2015-04-20 17:56:04 +02:00
Teddy Wing
0f5082d9b8
docs/renderers: StaticHTMLRenderer
instead of TemplateHTMLRenderer
...
The `StaticHTMLRenderer` section referred to `TemplateHTMLRenderer`
instead of `StaticHTMLRenderer`.
2015-04-16 15:47:53 -04:00
José Padilla
3abbeadfaf
Django 1.8 is no longer in beta
2015-04-14 11:32:15 -04:00
Thomas Stephenson
236b731072
Add 'format' argument to UUIDField
...
To allow serializations to control the representation format of a
UUID value
2015-04-12 22:07:25 +10:00
Rob Hudson
e6308155dd
Update example of nested data
2015-04-08 21:38:02 -07:00
Paweł Stiasny
22e8357a4b
Update serializers documentation (removed feature)
...
It seems that allow_add_remove was removed from 3.x, yet the docs still mention it. Updating to avoid confusion.
2015-04-08 13:53:49 +02:00
Brett Koonce
d8a19f79ab
more sp fixes
2015-04-07 22:06:25 -07:00
Oleg Marshev
b0dd1fffbf
Fix typo.
2015-04-07 19:40:23 +03:00
José Padilla
6333e48188
Merge pull request #2753 from johnjohndoe/patch-1
...
Fix typo.
2015-04-03 17:30:52 -04:00
Tom Christie
5cf8230ba1
Merge pull request #2777 from jpadilla/docs-query-params
...
`query_params` in favor of `QUERY_PARAMS`
2015-04-01 09:24:38 -04:00
Alex Tsai
fbd8c18abd
Should use "ordering" in model Meta, not order_by
2015-03-31 17:30:04 -07:00
José Padilla
911da8a2b9
query_params
in favor of QUERY_PARAMS
2015-03-29 17:04:23 -04:00
Christoffer
6cb6b02811
Reference typos in fields.md
2015-03-26 15:51:48 +01:00
José Padilla
197027c87b
Fix older release notes link
...
Closes #2756
2015-03-23 12:15:27 -04:00
Tom Christie
98809d12c9
Typo
2015-03-23 11:45:19 +00:00
Tom Christie
bbaee714fb
Fix release date
2015-03-23 11:38:17 +00:00
Tom Christie
35a0cbb911
Add 3.1.x series header
2015-03-23 11:37:12 +00:00
Tom Christie
dbb6943298
Update release notes
2015-03-23 11:24:29 +00:00
Tom Christie
e73ddddc3a
Merge pull request #2726 from linovia/release/3.1.1
...
Release notes for 3.1.1 and version bump.
2015-03-23 11:20:23 +00:00
Tobias Preuss
49c04d7218
Fix typo.
2015-03-23 11:20:08 +01:00
Quentin Pradet
a5506610ad
Put the needed import in one example
2015-03-20 15:17:49 +01:00
Quentin Pradet
8ba66e2c10
Document per-view versioning settings
...
That is, document the default_version, allowed_version and version_param
class variables.
2015-03-20 15:06:30 +01:00
Xavier Ordoquy
164be174ea
Release notes for 3.1.1 and version bump.
2015-03-19 23:29:10 +01:00
Aaron Yong
000db8df18
Fix typo in versioning docs
2015-03-17 11:36:02 -06:00
Tom Christie
2e55d15d4d
Merge pull request #2703 from kylepjohnson/master
...
Add necessary imports to final urls.py example
2015-03-16 15:33:00 +00:00
Kyle P. Johnson
d655a423fb
Add necessary imports to final urls.py example
2015-03-16 11:17:02 -04:00
Rubén Durá Tarí
ac44bae90d
Updates ducumentation DEFAULT_PAGE_SIZE left over after #2655
2015-03-16 14:53:26 +00:00
Xavier Ordoquy
a02098b855
Fix the link to the old doc ( #2681 ).
2015-03-13 00:15:53 +01:00
Esmail
2484dbf4e1
Fix example of explicit format URL (for real).
...
Do what I meant to do in #2670 :
The link is displayed in the tutorial as "http://example.com/api/items/4.json " but the hyperlink itself and what the example code actually works with are (in my opinion, less pretty) URLs like "http://example.com/api/items/4/.json ".
2015-03-11 12:00:19 -04:00
James Rutherford
7854c939dd
Fixed import statement in API docs
2015-03-11 10:44:42 +00:00
Bryan Alsdorf
69b6e26f06
Changed incorrect class name
2015-03-10 17:30:41 -05:00
Xavier Ordoquy
3e44f788b1
Fixed a typo in the documentation's link.
2015-03-09 17:28:00 +01:00
Tom Christie
e520ea0acb
Merge pull request #2652 from jpadilla/master
...
Remove the 'docs for 3.0' banners.
2015-03-09 08:53:13 +00:00
Tom Christie
d46d860088
Merge pull request #2655 from jwbixby/patch-1
...
Update documentation over PAGE_SIZE
2015-03-09 08:50:29 +00:00
Deven Xie
20ba47e343
Fixed missing word in CursorPagination docs
2015-03-09 00:10:26 -04:00
jwbixby
c2cbda43b9
Update documenation over PAGE_SIZE
...
This replaces all locations of the old setting `DEFAULT_PAGE_SIZE` for the current setting `PAGE_SIZE`
2015-03-08 00:22:28 -05:00
José Padilla
140b94c32e
Update to 3.1 release
2015-03-07 10:50:31 -04:00
José Padilla
d12de927ad
Remove docs for 3.0 banners
2015-03-07 10:49:56 -04:00
José Padilla
2ddb6bfa70
Fix permissions on markdown files
2015-03-07 10:19:25 -04:00
José Padilla
d2181cc74c
Fix customizing field mappings link
2015-03-06 09:41:34 -04:00
Tom Christie
7efb2fd9ed
Better docs linking
2015-03-06 12:26:09 +00:00
Tom Christie
c511342047
More docs on cursor pagination
2015-03-06 11:32:03 +00:00
Tom Christie
58dfde7fcd
Tweaks for cursor pagination and docs
2015-03-06 10:22:32 +00:00
Tom Christie
efb42ff7d0
Update docs
2015-03-04 16:17:30 +00:00
Tom Christie
18cc0230bf
Clean up pagination attributes
2015-03-04 15:51:00 +00:00
Aider Ibragimov
c20a0250df
add FilePathField, update docs
2015-03-03 14:34:06 +03:00
Aider Ibragimov
de72022f80
Merge branch 'master' of https://github.com/Ins1ne/django-rest-framework into feature/ipaddress
2015-02-28 14:29:27 +03:00
Aider Ibragimov
4d5eee04a0
add IPAddressField, update docs
2015-02-28 10:11:38 +03:00
José Padilla
700af5dab2
Merge pull request #2584 from aRkadeFR/DocFixingTypo
...
Documentation test fix double word
2015-02-27 12:53:10 -04:00
aRkadeFR
9c359181d7
update for that the
instead of that
2015-02-27 17:38:28 +01:00
Tom Christie
dafc045c2d
Merge pull request #2606 from tomchristie/1.8-beta
...
Formally upgrade suport to Django 1.8-beta
2015-02-26 13:49:44 +00:00
Tom Christie
8f988466a5
Docs on exception handler context. Closes #2604 .
2015-02-26 13:20:26 +00:00
Tom Christie
e72428214c
Formally upgrade suport to Django 1.8-beta
2015-02-26 12:53:24 +00:00
Tom Christie
03818ed004
Pagination tweaks and docs
2015-02-26 12:48:34 +00:00
Mateusz Sikora
b92d6df66a
Update third-party-resources.md
2015-02-25 18:53:33 +01:00
Mateusz Sikora
e51dc1855c
Update authentication.md
2015-02-25 18:51:20 +01:00
Mateusz Sikora
71619a02c5
Update third-party-resources.md
2015-02-25 17:58:54 +01:00
ludbek
f29b657798
updated outdated link at testing.md#APIClient
2015-02-21 07:52:56 +05:45
aRkadeFR
c0916c2859
Documentation test fix double word
2015-02-20 15:59:10 +01:00
Paul Hallett
d9c652813d
add missing import in tests
2015-02-18 15:53:57 +00:00
Yannick PÉROUX
30e6f32f6f
Fix typo in requests.md
2015-02-17 17:08:30 +01:00
Tom Christie
f1e517449a
Minor docs tweak
2015-02-17 13:41:59 +00:00
Tom Christie
691ae5b646
Recommend 'pip list --outdated' instead of using pip-review
2015-02-17 13:40:59 +00:00
Tom Christie
028c477c22
Note on using pip-review in docs.
2015-02-17 12:56:19 +00:00
Tom Christie
4248a8d3fc
Merge pull request #2198 from tomchristie/version-3.1
...
Version 3.1
2015-02-13 13:38:44 +00:00
Tymur Maryokhin
9d80335ac8
Remove '.model' shortcut from viewset docs. Refs #2486 . Closes #2549 .
2015-02-12 01:10:03 +01:00
Xavier Ordoquy
f6033cee87
Add release notes for 3.0.5.
2015-02-10 22:46:54 +01:00
donewell
9ea615af14
add message to custom permission
...
change detail to message and update text
2015-02-10 20:11:53 +00:00
Joar Leth
b18d773b51
Fix typo in 3.1 announcement
2015-02-09 22:51:49 +01:00
Tom Christie
fbb21caaaa
Merge master
2015-02-09 20:43:50 +00:00
Tom Christie
407480b484
Minor docs work
2015-02-09 17:01:41 +00:00
Tom Christie
670723f021
Minor cleanups/improvements to ModelSerializer API
2015-02-06 15:45:02 +00:00
José Padilla
235b98e427
Merge pull request #2460 from mmarvick/master
...
Small fixes to the tutorial
2015-02-06 11:31:25 -04:00
Tom Christie
5d8c3abe72
Fix typo
2015-02-06 15:27:35 +00:00
Tom Christie
a435b1b355
Merge branch 'version-3.1' of git://github.com/jpadilla/django-rest-framework into version-3.1
2015-02-06 14:39:31 +00:00
Tom Christie
1f99612845
Upgrade pending deprecations to deprecations
2015-02-06 13:21:35 +00:00
Tom Christie
1d4956f616
Pagination images
2015-02-06 13:08:04 +00:00
Tom Christie
53716f6152
Internationalization docs
2015-02-06 11:37:29 +00:00
José Padilla
7f801b9a01
Add trim_whitespace to CharField #2517
...
If set to `True` then leading and trailing
whitespace is trimmed. Defaults to `True`.
2015-02-06 01:09:19 -04:00
Michael Marvick
5bf803b6ed
Revert some of the changes made in 1-serialization.md
2015-02-05 19:42:36 -08:00
Tom Christie
09488ad4da
Link to ModelSerializer API
2015-02-06 00:25:03 +00:00
Tom Christie
6c63ef13cd
Drop 2.x announcements
2015-02-06 00:04:20 +00:00
Tom Christie
41b213414d
Updating release notes
2015-02-04 23:32:25 +00:00
Xavier Ordoquy
46181341d5
Merge pull request #2512 from heywbj/docs
...
Add django-rest-framework-recursive to docs
2015-02-04 00:13:52 +01:00
Warren Jin
76efbdddb6
docs
2015-02-03 17:18:54 -05:00
James Cooke
f676569661
Small documentation fixes
...
* Remove "you you" from viewsets API-guide
* Fix link from routers API-guide to viewsets API-guide
2015-02-03 13:43:03 +00:00
Tom Christie
d015534d53
Fleshing out 3.1 announcement
2015-02-03 09:15:42 +00:00
Tom Christie
6e2ea852d0
Merge pull request #2498 from dustinfarris/update-eda-link
...
Update link for ember-django-adapter
2015-02-01 21:17:36 +00:00
Dustin Farris
2111a99b32
Update link for ember-django-adapter
2015-02-01 16:00:24 -05:00
José Padilla
9437d9b8ee
Fix base_template name in example
2015-02-01 16:18:40 -04:00
José Padilla
aaa1fcd5d1
Fixes #2493
2015-02-01 16:18:02 -04:00
Tom Christie
2cc4cb2465
Fix error text in test.
2015-01-31 08:53:40 +00:00
Tom Christie
0d96cf2ca2
Latest translation source messages.
2015-01-30 16:27:49 +00:00
Tom Christie
4ee4b4f2dc
Merge master
2015-01-30 14:00:25 +00:00
Tom Christie
7cf9dea7f9
Docs typo. Closes #2491 .
2015-01-30 11:00:29 +00:00
Tymur Maryokhin
e720927b78
Removed deprecated '.model' docs
2015-01-29 17:28:18 +01:00
mareknaskret
4a2a36ef82
Update filtering.md
...
Updated links for django-guardian package.
2015-01-28 15:17:56 +01:00
Xavier Ordoquy
0daf160946
Fix #2476
2015-01-28 00:06:34 +01:00
Xavier Ordoquy
925ea4bdc6
Release notes for 3.0.4
2015-01-27 19:43:38 +01:00
Tom Christie
fc70c0862f
Galileo Press -> Rheinwerk Verlag
2015-01-26 14:07:21 +00:00
Michael Marvick
73bd0d539f
tutorial #5 incorrectly referenced 'settings.py' instead of 'tutorial/settings.py'
2015-01-25 23:47:01 -08:00
Michael Marvick
2a6937f381
tutorial #2 incorrectly showed /item.json instead of /item/.json for format suffixes
2015-01-25 23:46:27 -08:00
Michael Marvick
90c9968a70
tutorial #1 incorrectly showed string of json instead of ReturnDict type from 'serializer.data', and also has a third item in the second usage
2015-01-25 23:45:56 -08:00
Jeff Fein-Worton
0a65913fea
typo in fields.md
2015-01-24 18:34:16 -08:00
Jeff Fein-Worton
39da9c7c86
minor typo in viewsets docs
2015-01-24 12:53:21 -08:00
Tom Christie
8f6d7f4a5a
Merge pull request #2451 from tomchristie/dict-field
...
Added DictField and support for HStoreField.
2015-01-23 16:33:37 +00:00
Tom Christie
35f6a82462
Added DictField and support for HStoreField.
2015-01-23 16:27:23 +00:00
Tom Christie
b07d931261
Merge pull request #2448 from tomchristie/uuid-field
...
Added UUIDField.
2015-01-23 15:43:21 +00:00
Tom Christie
5bb348605e
UUIDField docs
2015-01-23 15:31:08 +00:00
Tom Christie
39f26c9eca
Merge master
2015-01-23 14:28:59 +00:00
Carlton Gibson
790c92d438
Update Django-Filter references in docs and requirements.
2015-01-23 15:22:20 +01:00
Duncan Maitland
6e471ad8f4
fix link to Django CSRF docs
2015-01-22 18:29:20 +11:00
Tom Christie
9ec08ce578
Merge master
2015-01-21 13:12:14 +00:00
soooooot
3ca8f85a5b
correcting unclosed quote in routers.md
...
correcting unclosed quote in routers.md
2015-01-20 22:24:58 +08:00
Eric Theise
b0bc79ed4d
correcting "it's" to "its" in Tutorial 1
2015-01-19 14:49:36 -08:00
Tom Christie
6065cdbd93
Merge master
2015-01-19 15:16:57 +00:00
Tom Christie
53edd37df5
Tests for LimitOffsetPagination
2015-01-15 21:07:05 +00:00
Tom Christie
313aa727e3
Tweaks
2015-01-14 17:46:41 +00:00
Tom Christie
1bcec3a0ac
API tweaks and pagination documentation
2015-01-13 17:14:13 +00:00
Tom Christie
564f845e21
Lower header font weights for nicer docs style
2015-01-13 12:21:03 +00:00
Tom Christie
8e2dc6b26d
Update internationalization docs
2015-01-13 12:07:25 +00:00
Tom Christie
2b28026fc1
Translation info -> project management
2015-01-13 10:44:40 +00:00
Carlton Gibson
41e13d73fa
Merge pull request #2407 from philipn/filters_link_fix
...
Fix link to `django-rest-framework-filters`
2015-01-13 09:04:33 +01:00
Philip Neustrom
7f9a62a5bf
Fix link to django-rest-framework-filters
(formerly
...
`django-rest-framework-chain`)
2015-01-13 15:22:08 +08:00
Tom Christie
605c1fa0a8
Merge pull request #2397 from travelton/TweakTutorialDocs
...
Tweaked a few issues in the tutorial documentation.
2015-01-10 14:07:13 +00:00
Travis Swientek
8ccf5bcc0b
Tweaked a few issues in the tutorial documentation.
2015-01-09 11:36:21 -08:00
Tom Christie
11efde8905
Merge pull request #2373 from jakul/document-translations-3.1
...
Document how to translate DRF error messages (version 3.1)
2015-01-09 11:57:02 +00:00
Xavier Ordoquy
ef16c546d7
Update the release note with latest fixes.
...
Add the link to the 3.0.3 milestone.
2015-01-08 23:29:51 +01:00
Xavier Ordoquy
02ee3871ae
Merge remote-tracking branch 'origin/master' into release/3.0.3
2015-01-08 23:24:19 +01:00
Tom Christie
42c913334b
Minimum 1.6.x version is 1.6.3
2015-01-08 14:51:08 +00:00
Tom Christie
f529f83d3c
Minimum Django 1.5 version issue 1.5.6
2015-01-08 14:38:23 +00:00
Tom Christie
f0ad0a88c4
Link to Roy Fielding versioning interview.
2015-01-08 12:31:51 +00:00
Tom Christie
3dbcefb3c7
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2015-01-08 11:07:52 +00:00
Tom Christie
e61ef3d39f
Minor docs updates
2015-01-08 11:07:47 +00:00
Tom Christie
18cefad3ab
Update project-management.md
2015-01-07 21:03:50 +00:00
Tom Christie
1102e22cb4
Update project-management.md
2015-01-07 21:02:42 +00:00
Xavier Ordoquy
42f1932b52
Release notes for 3.0.3
2015-01-07 19:10:22 +01:00
Craig Blaszczyk
7913947757
add config and documentation about uploading/downloading translations from Transifex
2015-01-07 11:13:03 +00:00
JocelynDelalande
fe92a2cfee
fixed doc : DEFAULT_AUTHENTICATION_CLASSES -> DEFAULT_AUTHENTICATION
...
+ It is consistent with docs about DEFAULT_PERMISSION_CLASSES
2015-01-07 10:42:11 +01:00
Tom Christie
271b638df1
Update exception docs. Closes #2378 .
2015-01-06 11:21:58 +00:00
Tom Christie
d3b2302588
Minor docs update. Refs #2375 .
2015-01-05 16:31:52 +00:00
Tom Christie
949e3b7507
Merge branch 'master' into version-3.1
2015-01-05 15:04:23 +00:00
Tom Christie
b6ca7248eb
required=False allows omission of value for output. Closes #2342
2015-01-05 14:32:12 +00:00
Tom Christie
17665aa52a
Add docs for OAuth, XML, YAML, JSONP packages. Closes #2179 .
2015-01-05 12:26:15 +00:00
Tom Christie
6168f60ba8
Merge branch 'master' into version-3.1
2015-01-05 11:02:28 +00:00
Craig Blaszczyk
9f169acb62
capitalise Django
2015-01-02 11:08:45 +00:00
Craig Blaszczyk
0b8a83bd62
update internationalisation instructions to prevent symlinking; add base .po file
2015-01-02 11:08:04 +00:00
Craig Blaszczyk
2781903a5a
Add info about how django chooses which language to use
2015-01-02 11:07:58 +00:00
Craig Blaszczyk
7ad7dd6a42
match DRF style guide
2015-01-02 11:07:49 +00:00
Craig Blaszczyk
309b5d2641
instructions on how to translate REST framework error messages
2015-01-02 11:07:35 +00:00
Rob Terhaar
336faf5a86
fix widget style formatting
2015-01-01 21:01:16 -05:00
Tom Christie
5d8c45681a
Update copryright for 2015. Closes #2247 .
2014-12-28 18:48:42 +00:00
Tom Christie
d8e66970a1
Note on using i18n_patterns with format_suffix_patterns. Closes #2278 .
2014-12-28 12:14:07 +00:00
Tom Christie
8dc95ee221
Add notes on include and namespacing. Closes #2335 .
2014-12-28 11:24:49 +00:00
Tom Christie
27f84aa0f3
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-28 11:02:36 +00:00
Tom Christie
a636320ff3
Add import notes in docs. Closes #2357
2014-12-28 11:02:19 +00:00
Rocky Meza
5b5652594a
Typo manger => manager
2014-12-26 22:24:31 -07:00
Tom Christie
00531ec937
Release notes on non-text detail arguments. Closes #2341 .
2014-12-26 15:48:16 +00:00
Matías Lang
18687f075d
Documented an optional argument of HyperlinkedIdentityField
...
lookup_url_kwarg argument of HyperlinkedIdentityField wasn't documented
2014-12-23 12:22:10 -03:00
Brian Stearns
3569674860
use of double quotes broke the code highlighting.
2014-12-21 18:53:35 -05:00
Tom Christie
2a1485e009
Final bits of docs for ModelSerializer fields API
2014-12-19 21:32:43 +00:00
Tom Christie
48d15f6ff8
Stub out the documentation
2014-12-19 16:58:35 +00:00
Tom Christie
d109ae0a2e
Merge pull request #2010 from tanwanirahul/master
...
Ability to customize method names without creating a custom router
2014-12-19 16:09:01 +00:00
Rahul
8f0fef4b75
Updated documentation on url_path per suggestions.
2014-12-19 21:22:10 +05:30
Rahul
b4a3e7f640
Updates url_path info per suggestion
2014-12-19 21:20:19 +05:30
Rahul
6aa0e307c9
Added documentation about url_path parameter for custom actions.
2014-12-19 20:31:21 +05:30
tanwanirahul
a8a3fedb5c
Add url_path documention for detail_route decorator
2014-12-19 20:16:46 +05:30
Tom Christie
435aef7738
Merge branch 'master' into version-3.1
2014-12-19 11:53:05 +00:00
Tom Christie
7105c1308e
Add OPTIONS/metadata to docs index
2014-12-18 15:42:27 +00:00
Tom Christie
9c9d5bd859
Added project management docs.
2014-12-18 13:35:42 +00:00
Tom Christie
c8d88c8c8a
Merge branch 'master' into version-3.1
2014-12-18 11:21:25 +00:00
Brent O'Connor
7e9aac98fe
The pre_save method no longer works. This resolved issue #2306
2014-12-17 16:54:04 -06:00
Tom Christie
c87e95c239
Add missing date
2014-12-17 21:11:06 +00:00
Tom Christie
15c2001de0
Merge pull request #2297 from tomchristie/version-3.0.2
...
Version 3.0.2
2014-12-17 21:04:08 +00:00
Brent O'Connor
4f33cfe1a0
With httpie 0.8.0 the HTTP method has to come after the auth argument.
2014-12-17 14:38:01 -06:00
Tymur Maryokhin
eeb6e34064
Docs/tutorial import fixes. Refs #2296
2014-12-17 17:28:11 +01:00
Tom Christie
418108632c
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 16:23:20 +00:00
Tom Christie
90b8f9221e
Use six.BytesIO in tutorial. Closes #2296 .
2014-12-17 16:23:00 +00:00
Tom Christie
5f933f575e
Merge pull request #2298 from epicserve/fix_typo
...
Fixed a typo
2014-12-17 16:20:22 +00:00
Brent O'Connor
530f7a21b3
Fixed a typo
2014-12-17 10:19:15 -06:00
Tom Christie
265ed9377e
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 16:19:13 +00:00
Tom Christie
c9a2ce0703
Expand permissions docs. Closes #2223 .
2014-12-17 16:19:02 +00:00
Tom Christie
2adfb6c3aa
Cleanup extra newline
2014-12-17 16:00:49 +00:00
Tom Christie
bbd55fafc5
Version 3.0.2
2014-12-17 15:58:30 +00:00
Tom Christie
ad6533e554
Merge pull request #2294 from tomchristie/fix-empty-html-values-with-default
...
Fix empty HTML values when a default is provided.
2014-12-17 15:24:01 +00:00
Tom Christie
ffc099a256
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-17 15:22:40 +00:00
Tom Christie
1ba822010d
Highlight trailing '.' in command so it wont be missed.
2014-12-17 15:22:27 +00:00
Tom Christie
3fff5cb6e0
Fix empty HTML values when a default is provided.
2014-12-17 15:13:48 +00:00
Tom Christie
c6137bbf5a
Serializer API restrictions.
2014-12-17 14:14:51 +00:00
Tom Christie
05a6eaec8a
More docs, plus 'ALLOWED_VERSIONS' setting.
2014-12-17 12:41:46 +00:00
Tom Christie
6e51e4f5cd
Versioning first pass
2014-12-16 15:34:19 +00:00
José Padilla
d71ef9c6d8
Closes #2281
2014-12-15 21:48:31 -04:00
Tom Christie
b6ee784240
Merge master
2014-12-15 12:18:55 +00:00
Jason Spafford
56c09cc1f2
Doc typo
2014-12-15 02:41:39 -08:00
Jason Spafford
b951c74df2
Made docs consistent
2014-12-15 01:24:12 -08:00
Tom Christie
d232c5739e
Merge branch 'exception-handler-context' of git://github.com/jpadilla/django-rest-framework into version-3.1
2014-12-15 09:19:53 +00:00
Tom Christie
4778463e32
Merge branch 'master' into version-3.1
2014-12-15 09:18:11 +00:00
José Padilla
478c8d724b
Update docs
2014-12-14 10:16:52 -04:00
Brian Jacobel
2d470eef80
Change serializers.Field to serializers.ReadOnlyField for 3.x compatibility
...
Using this code snippet as-is on DRF 3.0.1 results in a NotImplementedError
being raised for to_representation due to 3.0's changed behavior with
serializers.Field. The code snippet should be updated to use
serializers.ReadOnlyField instead.
Further discussion here:
https://groups.google.com/forum/?fromgroups=#!topic/django-rest-framework/aX8mLT_v3yc
2014-12-13 14:47:11 -05:00
Jeff Fein-Worton
00da241482
documentation typo
...
base-name -> base_name
2014-12-12 22:14:22 -08:00
Tom Christie
baaa356489
Merge master
2014-12-12 15:37:43 +00:00
Tom Christie
73a80564e2
Merge pull request #2251 from linovia/version/3.0.1
...
Release notes & version 3.0.1
2014-12-11 15:08:07 +00:00
Xavier Ordoquy
9c37174768
Fix the ghost backtick.
2014-12-11 15:58:02 +01:00
Xavier Ordoquy
3a69182cc9
Better link representation for the issues.
2014-12-11 15:32:52 +01:00
Xavier Ordoquy
75acdc93bc
Fix the milestone link again.
2014-12-11 15:13:15 +01:00
Xavier Ordoquy
99423defd8
Add full stop to the release note items.
...
Add link to the issues
Fix the milestone link
2014-12-11 15:11:37 +01:00
Xavier Ordoquy
9a7b0755eb
Add links to the issue id.
2014-12-11 15:06:10 +01:00
Xavier Ordoquy
ab801bb01f
Release note corrections
2014-12-11 14:57:26 +01:00
Tom Christie
9b88b5db69
Field->ReadOnlyField in tutorial docs
2014-12-11 09:54:55 +00:00
Xavier Ordoquy
0188ca7306
Release notes for 3.0.1
2014-12-11 00:02:13 +01:00
Tom Christie
8ad0b83148
Minor docs tweaks
2014-12-10 14:29:21 +00:00
Tom Christie
01bb85e80a
Merge pull request #2246 from d0ugal/mkdocs-theme
...
Syntax highlighting
2014-12-10 14:22:00 +00:00
Dougal Matthews
5fe5a93644
Move remaining sponsor
2014-12-10 14:09:47 +00:00
Dougal Matthews
1ea84c92a7
Sorted the images
...
Moved images referenced by the markdown back to the docs directory
Deleted unused image autocomplete.png
2014-12-10 13:59:51 +00:00
Tom Christie
dafc5d45a0
Minor docs tweaks to titles and citations
2014-12-10 12:28:48 +00:00
Dougal Matthews
9883862576
Move the static content into the docs theme
2014-12-10 11:34:26 +00:00
Tom Christie
76956beab4
snippets relationship in tutorial should be read_only
2014-12-09 19:53:27 +00:00
Tom Christie
f5b783af61
allow_blank in ChoiceField. Refs #2239 .
2014-12-09 14:21:31 +00:00
Tom Christie
cae19f8924
Minor docs tweaks
2014-12-09 13:21:10 +00:00
Tom Christie
4cdfb6adc2
Add REST framework: Under the hood. video to the 3.0 announcement.
2014-12-09 13:18:18 +00:00
Tom Christie
af3fe5a39f
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
2014-12-08 16:38:29 +00:00
Tom Christie
4e9ebb5fe9
cd back to parent directory
2014-12-08 16:38:17 +00:00
Tom Christie
302ec59a5c
Merge pull request #2165 from phalt/httpie-examples
...
Use httpie for tutorials
2014-12-08 15:51:19 +00:00
phalt
f3ebac061e
one last tabs / spaces!
2014-12-08 15:47:49 +00:00
phalt
8e9408115d
fixed indentations
2014-12-08 15:41:01 +00:00
Tom Christie
fd02d8266b
Added 3.0 to release notes.
2014-12-08 15:16:33 +00:00
José Padilla
8ba4e7bafe
Add misc note about localization
2014-12-08 09:18:37 -04:00
Mark Henwood
9b468fba60
Amend ViewSet docs to warn of potential problem
...
I went through this exact problem and so thought the docs might
benefit from a small hint at the appropriate point.
2014-12-07 12:02:43 +00:00
Xavier Ordoquy
e4820d611b
Fix the new Django default db name
...
PrimaryKeyRelatedField now needs a queryset argument.
urls now don't use urlpatterns.
2014-12-06 10:58:17 +01:00
Tom Christie
59b2ad5425
Minor docs tweaks
2014-12-05 13:23:14 +00:00
Tom Christie
e2587c7b4d
Merge pull request #2204 from carltongibson/default-docs-fix
...
Clarify read-only & `unique_together` Documentation
2014-12-05 13:20:16 +00:00
Tom Christie
9fb1b396db
user in example should have been instance. Closees #2191 .
2014-12-05 13:07:31 +00:00
Tom Christie
b7b0fd3e14
Added .validated_data usage. Closes #2214 .
2014-12-05 12:48:12 +00:00
Tom Christie
1b8c06aefe
Style tweaks in examples
2014-12-05 12:46:08 +00:00
Tom Christie
e2b3908834
Fix quickstart tutorial
2014-12-05 09:44:01 +00:00
Xavier Ordoquy
9d078be59c
Fix the tutorial against the v3.0
2014-12-04 23:34:55 +01:00
Xavier Ordoquy
38e05e66c9
print() function works from Python 2.6 to 3.X
2014-12-04 23:22:00 +01:00
Carlton Gibson
6ee361332b
Add missing definite article
2014-12-04 14:15:01 +01:00
phalt
fcbae5d99f
updates based on suggestions
2014-12-04 11:20:33 +00:00
Carlton Gibson
71e1a3942e
Initial link from Serializers to Validators
2014-12-04 12:15:14 +01:00
Tom Christie
3d6620c72a
Merge
2014-12-03 23:24:06 +00:00
Tom Christie
f74e52b31e
Merge
2014-12-03 23:14:58 +00:00
Tom Christie
6369f92125
Merge
2014-12-03 23:12:52 +00:00
Martin Tschammer
ab25d706c7
Renamed validated_attrs to validated_data to be more in line with other similar code.
2014-12-03 23:52:35 +01:00
eiriksm
74a9ece3dc
Update build status icon on github pages page.
2014-12-03 13:37:56 +01:00
phalt
a17d5d2b0b
remove unsused link
2014-12-02 16:11:43 +00:00
Matías Lang
5ad22aea60
Updated serializers documentation
...
There was an error in the docs: the field extra_field_kwargs of the serializer's Meta doesn't work. The field must be extra_kwargs instead.
2014-12-02 12:23:25 -03:00
David Ray
84cff98fbf
fix typo
2014-12-02 09:46:43 -05:00
phalt
515060a6ab
Only show pip install for httpie
2014-12-02 10:16:41 +00:00
Tom Christie
6ac79b8223
Document Field.fail(). Closes #2147 .
2014-12-02 09:19:59 +00:00
Tom Christie
f4fc4670ca
Promote 'many_init' to public API. Closes #2152 .
2014-12-02 08:53:36 +00:00
Tom Christie
deec61e0d6
Merge pull request #2173 from jpadilla/master
...
Consolidate Django and test requirements
2014-12-02 08:32:28 +00:00
Tymur Maryokhin
0a91999d6a
Merge branch 'master' of github.com:tomchristie/django-rest-framework
2014-12-02 01:50:17 +01:00
José Padilla
bc0c25df30
Consolidate Django and test requirements
2014-12-01 17:31:11 -04:00
José Padilla
080fa4f5f8
Change allow_none to allow_null
2014-12-01 11:26:50 -04:00
Tom Christie
555c450497
Add missing 'validators.py' link. Closes #2166 .
2014-12-01 14:46:47 +00:00
phalt
34b5db62e5
Use httpie for tutorials
2014-12-01 13:39:53 +00:00
Tom Christie
1caa14dd14
Minor 3.0 announcment tweaks
2014-12-01 12:22:21 +00:00
Tom Christie
270c7acdd7
Minor validtors tweak
2014-12-01 11:59:04 +00:00
Tom Christie
b9503cd603
Support Django's core ValidationError for backwards compat. Refs #2145 .
2014-12-01 10:48:45 +00:00
Tom Christie
72c4ec4e18
Add 3.0 announcement
2014-12-01 08:54:12 +00:00
Tymur Maryokhin
e2ea98e8ab
Fixed typos
2014-11-29 20:23:55 +01:00
José Padilla
7f9dc73672
Remove XML support from core
2014-11-29 14:57:51 -04:00
José Padilla
fe745b9616
Remove JSONP support from core
2014-11-29 14:55:33 -04:00
José Padilla
731c8421af
Remove YAML support from core
2014-11-29 14:43:05 -04:00
José Padilla
0cc990792c
Merge branch 'version-3.1' into oauth_as_package
...
Conflicts:
requirements-test.txt
rest_framework/compat.py
tests/settings.py
tox.ini
2014-11-28 12:14:40 -04:00
Tom Christie
caf1de3b88
Minor tweaks to contributing docs
2014-11-28 16:06:44 +00:00
Tom Christie
08c727add3
@api_view defaults to allowing GET
2014-11-28 15:55:02 +00:00
Tom Christie
9ba29a88d6
Finalizing 3.0 release notes
2014-11-28 14:43:33 +00:00
Tom Christie
8e549a76ea
Add 2.x notes and links
2014-11-28 14:26:03 +00:00
Tom Christie
66b3daebbd
Docs. Sponsor call-out.
2014-11-28 13:14:47 +00:00
Tom Christie
05a86e3d65
Docs. Minor tweaks.
2014-11-28 12:51:44 +00:00
Tom Christie
276a2a52ee
Docs on nested creates/updates and suchlike
2014-11-28 11:26:35 +00:00
Tom Christie
d4b8e356b9
Merge branch '3.0-docs'
2014-11-28 09:57:02 +00:00
Tom Christie
34ca8cd2a5
Moar docs. Amazing.
2014-11-28 09:56:44 +00:00
Tom Christie
c61c59f8b7
Notes on removal of Field.validate() and Serializer.transform_<field_name>
2014-11-27 17:01:46 +00:00
Tom Christie
2fe6709769
Fix sponsor images for mkdocs
2014-11-27 11:00:57 +00:00
Tom Christie
0262262fee
3.0 serializer docs
2014-11-27 08:09:58 +00:00
José Padilla
9b88c096e0
Remove Third party packages section
...
Information about Third party packages is already covered under the Third Party Resources topic
2014-11-26 18:12:12 -04:00
Will Stott
d0e245baba
grammar
2014-11-26 15:51:28 +00:00
Will Stott
34bd2b7828
a few typos
2014-11-26 15:48:08 +00:00
Tom Christie
786cab705a
Tweak to 3.0 relationship docs
2014-11-26 11:38:48 +00:00
Tom Christie
5a5a73c7fe
3.0 docs and tidy-up for serializer relationships
2014-11-26 11:30:49 +00:00
Tom Christie
678f7b4c65
Update notes on autocomplete
2014-11-26 10:43:45 +00:00
Tom Christie
e1b14cbe4a
3.0 docs for serializer fields
2014-11-26 10:27:29 +00:00
Tom Christie
0f5338ada9
Call out removal of pre_save/post_save more strongly
2014-11-26 09:06:15 +00:00
Tom Christie
c01c631ef2
perform_create, perform_update, perform_destroy hooks
2014-11-26 09:04:48 +00:00
Tom Christie
31536566d7
Updating fields docs
2014-11-25 17:35:27 +00:00
Tom Christie
4ed0ae82e3
Add validators page
2014-11-25 16:29:14 +00:00
Tom Christie
f13c0ebe69
Merge master
2014-11-25 16:27:00 +00:00
Tom Christie
b733f85ff1
Minor docs tweaks
2014-11-25 16:24:35 +00:00
Tom Christie
c7701cd75a
Tweak
2014-11-25 16:08:48 +00:00
Tom Christie
929135ea58
Include CNAME file
2014-11-25 16:01:32 +00:00
Tom Christie
d7f8047add
Merge branch 'mkdocs' of git://github.com/d0ugal/django-rest-framework into d0ugal-mkdocs
2014-11-25 15:52:36 +00:00
Tom Christie
8c91e7b742
Add missing options
2014-11-25 15:52:13 +00:00
Tom Christie
64d8e3dcb6
Typo. Refs #2132 .
2014-11-25 13:50:35 +00:00
José Padilla
38fe2c9dad
Document writing third party packages
...
Add the following sections:
- “About Third Party Packages”
- “How to create a Third Party Package”
- “Existing Third Party Packages”
Resolve #2043
2014-11-25 09:38:48 -04:00
Dougal Matthews
673f48242f
Remove commented out title
2014-11-25 13:11:30 +00:00
Dougal Matthews
a0c12bf7c5
Change the background of the selected page on the dropdown
2014-11-25 12:44:26 +00:00
José Padilla
200e0b17da
Clean up extra white space
2014-11-25 12:44:11 +00:00
José Padilla
361827350a
Move content template into base.html
2014-11-25 12:44:11 +00:00
José Padilla
16d442dda3
Use MkDocs meta.source to render source code links
2014-11-25 12:44:11 +00:00
Dougal Matthews
d72a56f37f
Move the docs theme out of the docs folder.
2014-11-25 12:43:42 +00:00
Dougal Matthews
5d479c20d8
Move nav to it's own template based on the MkDocs theme
2014-11-25 12:43:42 +00:00
Dougal Matthews
b443f81481
Add meta description
2014-11-25 12:43:42 +00:00
Dougal Matthews
6da9d5aee0
Add a workaround for not having the index name
2014-11-25 12:43:42 +00:00
Dougal Matthews
5600878672
Fixed the TOC (again)
...
Not sure how I broke it ;-)
2014-11-25 12:43:42 +00:00
Dougal Matthews
3c49b9fe46
Add next and previous page.
2014-11-25 12:43:42 +00:00
Dougal Matthews
49a493f61f
Bring back the promo section
2014-11-25 12:43:42 +00:00
Dougal Matthews
18712a5cbc
Fix the Navigation style
2014-11-25 12:43:42 +00:00
José Padilla
d6b203f013
Use page_title instead of title in docs theme
2014-11-25 12:43:02 +00:00
Dougal Matthews
2ddef2d326
Drop simply from the mkdocs install lines
...
It is still simple tho', honest ;)
2014-11-25 12:43:02 +00:00
Dougal Matthews
84d9c4b46e
Change site_dir to html to match mkdocs.py
2014-11-25 12:42:39 +00:00
Dougal Matthews
261c4ce9af
Remove redundant requirements file
2014-11-25 12:32:29 +00:00
Dougal Matthews
3a648b9f0b
Migrate documentation to MkDocs proper
2014-11-25 12:32:29 +00:00
Tom Christie
3b40f8c1c1
Drop 0.x release notes
2014-11-25 12:15:48 +00:00
Tom Christie
83281254d1
Hypenate 'un-coerced'
2014-11-25 12:06:27 +00:00
Tom Christie
c4dff54ecc
Docs on ValidationError
2014-11-25 12:04:46 +00:00
Tom Christie
a3c0c8fb90
Add missing period.
2014-11-25 12:04:35 +00:00
Tom Christie
2e726e22a3
request.DATA, request.FILES -> request.data
2014-11-25 11:42:43 +00:00
Marc
83e556ba1e
Missing quotes on validate_score example
2014-11-25 12:37:20 +01:00
Tom Christie
3371131a61
Merge pull request #2116 from LuRsT/patch-5
...
Fixed database update instructions
2014-11-24 13:21:15 +00:00
Gil Gonçalves
918b9cc6a6
Added missing import in tutorial snippet
2014-11-24 08:54:07 +00:00
Gil Gonçalves
790a651893
Fixed database update instructions
2014-11-24 08:51:08 +00:00
Tony Nguyen
c94d1e6d3e
Fix typo "serailizers" to "serializers"
2014-11-23 22:40:40 +07:00
Matthew Dapena-Tretter
8e940a22fb
Clarify how permission classes are composed
...
all/every/AND or any/OR? all/every/AND!
2014-11-21 16:04:45 -05:00
Tom Christie
071c064d25
Fill in TODOs for 3.0 beta release notes
2014-11-20 14:22:53 +00:00