Tom Christie
c6137bbf5a
Serializer API restrictions.
2014-12-17 14:14:51 +00:00
José Padilla
d71ef9c6d8
Closes #2281
2014-12-15 21:48:31 -04: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
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
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
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