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
|
3c8f01b985
|
Explicit CSRF failure message. Fixes #60.
|
2012-10-15 14:03:36 +01:00 |
|
Tom Christie
|
9c1fba3483
|
Tweak parsers to take parser_context
|
2012-10-15 13:27:50 +01: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
|
beea6487b2
|
Function based views get proper naming in browseable API
|
2012-10-09 09:57:08 +01:00 |
|
Tom Christie
|
f79ed6175d
|
Add RetrieveDestroyAPIView and remove Metadata mixin
|
2012-10-08 14:13:15 +01:00 |
|
Tom Christie
|
9d8bce8f5b
|
Remove Parser.can_handle_request()
|
2012-10-05 14:48:33 +01:00 |
|
Tom Christie
|
3e862c7737
|
Tweak view slightly
|
2012-10-05 14:22:02 +01:00 |
|
Tom Christie
|
ed281be3fb
|
User .accepted_renderer, .accepted_media_type
|
2012-10-05 10:33: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
|
224bc027cd
|
Add more tests for generic views
|
2012-09-28 16:41:35 +01:00 |
|
Tom Christie
|
ee36e4ab0c
|
Only display forms when user has permissions. #159
|
2012-09-27 21:51:46 +01:00 |
|
Tom Christie
|
b4cd699b75
|
Tweak media_type -> accepted_media_type. Need to document, but marginally less confusing
|
2012-09-21 13:12:10 +01:00 |
|
Tom Christie
|
d9cba6398e
|
Clean up bits of templates etc
|
2012-09-20 17:44:34 +01:00 |
|
Tom Christie
|
f4670c8996
|
Hack out bunch of unneccesary private methods on View class
|
2012-09-20 14:00:53 +01:00 |
|
Tom Christie
|
4b691c4027
|
Change package name: djangorestframework -> rest_framework
|
2012-09-20 13:06:27 +01:00 |
|