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
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ß
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
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
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
04ae32c934
remove no-site-packages since that's now the default
2012-10-25 17:01:00 +01:00
Tom Christie
99d48f9003
Drop .parse_string_or_stream() - keep API minimal.
2012-10-17 22:07:56 +01:00
Tom Christie
b581ffe323
Docs tweaks
2012-10-08 15:46:52 +01:00
Tom Christie
84958d131a
Doc style tweaks
2012-10-05 15:22:30 +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
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
4b691c4027
Change package name: djangorestframework -> rest_framework
2012-09-20 13:06:27 +01:00
Tom Christie
308677037f
Tweak docs, fix .error_data -> .errors
2012-09-17 20:19:45 +01:00
Tom Christie
5d9dfcd8ae
Code highlighting in docs
2012-09-08 20:23:32 +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
578017e01d
New docs
2012-08-29 20:57:37 +01:00