Commit Graph

41 Commits

Author SHA1 Message Date
Sébastien Piquemal
42cda616da made the BaseResource more interface-y (no implemented method) + added 'queryset' parameter for ModelListView 2012-01-09 20:11:00 +02:00
Tom Christie
d1c217523b Start separating out serializers 2012-01-06 13:26:21 +00:00
Tom Christie
6305033373 Separate out SerializerMixin 2012-01-05 18:24:47 +00:00
Sébastien Piquemal
926059dad6 new-style resources + tests 2012-01-03 19:17:25 +02:00
Sébastien Piquemal
d987b745f9 started resource-agnostic views 2012-01-03 11:59:56 +02:00
Tom Christie
a32eb50bae De-couple request/response layer CRUD, from underlying resource CRUD. 2011-12-14 14:48:51 +00:00
Tom Christie
f84fd47825 Cleanups - line lengths, whitespace etc. 2011-12-14 14:48:22 +00:00
Tom Christie
ebbb6ac2d5 Merge branch 'master' into experimental 2011-12-14 10:48:24 +00:00
Tom Christie
e8126c3a91 Getting more resourceful - read, create, update and delete methods on ModelMixin 2011-12-14 10:48:19 +00:00
Tom Christie
cb8931a014 Typo. 2011-12-12 15:33:45 +00:00
Tom Christie
42cdd00591 Merge meurig's absolute_url fix. 2011-12-09 12:54:11 +00:00
Meurig Freeman
e704705383 whitespace fix 2011-10-31 04:02:40 +00:00
Meurig Freeman
5541f0af44 make use of original prefix when generating absolute urls 2011-10-31 03:58:00 +00:00
Carles Barrobés
3b413dbb40 Added support for OPTIONS method, including a few unit tests 2011-07-30 22:23:53 +02:00
Tom Christie
746b817ad3 Whitespace tweaks 2011-07-22 04:03:04 -07:00
Tom Christie
524954b246 Whitespace tweak 2011-07-22 04:01:38 -07:00
Jens Alm
f73588eb42 parsers.DEFAULT_PARSERS added to be consistent with renderers.DEFAULT_RENDERERS 2011-07-02 19:03:26 +02:00
Fernando Zunino
3b81453fd1 Fix: Crash when yaml isn't installed. 2011-07-02 12:56:57 -03:00
markotibold
9be3d38aa0 Very basic YAML support. Probably needs some tweaking, and definitely needs tests. 2011-06-26 01:35:38 +02:00
Tom Christie
1cb84cd4e8 Merge throttling and fix up a coupla things 2011-06-15 14:41:09 +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
437a062b6c implemeneted #28 2011-06-13 20:42:37 +02:00
Tom Christie
44dfa05397 Typo. Authenticat<i>on 2011-06-07 14:12:02 +01:00
Tom Christie
21d2dcc294 Allow .form specified on view. Allow get_form, put_form, post_form. Add .PARAMS. 2011-05-27 14:40:19 +01:00
Tom Christie
cefc6a25c2 forms/models can be set on the view as well as the resource 2011-05-27 09:58:21 +01:00
Tom Christie
894bf34451 tidy up last bits of renderer media type handling 2011-05-24 16:31:17 +01:00
Tom Christie
ce6e5fdc01 Renderers can now cope with parameterised args. ResponseMixin gets cleaned up & added Renderer.can_handle_response(), mirroring Parsers.can_handle_request() 2011-05-24 13:29:30 +01:00
Tom Christie
370274f564 Allow views to return HttpResponses. Add initial() hook method 2011-05-24 10:27:24 +01:00
Tom Christie
698df527a3 check in marko's docs 2011-05-23 17:09:29 +01:00
Tom Christie
c531759147 name and description 2011-05-23 17:07:31 +01:00
markotibold
82c4ca9612 The core is now documented from the docstrings in the source. 2011-05-19 19:36:30 +02: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
Tom Christie
325e63a3a7 Sorting out resources. Doing some crazy magic automatic url resolving stuff. Yum. 2011-05-13 17:19:12 +01:00
Tom Christie
8f6bcac7f3 cleanup 2011-05-13 09:59:36 +01:00
Tom Christie
44c8b89c60 _perform_form_overloading becomes transparent 2011-05-12 16:03:14 +01:00
Tom Christie
b5b231a874 yet more API cleanup 2011-05-12 15:11:14 +01:00
Tom Christie
15f9e7c566 refactoring resource specfic stuff into ResourceMixin - validators now defunct 2011-05-12 12:55:13 +01:00
Tom Christie
527e4ffdf7 renderer API work 2011-05-10 12:21:48 +01:00
Tom Christie
8f58ee489d Getting the API into shape 2011-05-10 10:49:28 +01:00
Tom Christie
d373b3a067 Decouple views and resources 2011-05-04 09:21:17 +01:00
tom christie tom@tomchristie.com
805aa03ec1 Yowzers. Final big bunch of refactoring for 0.1 release. Now support Django 1.3's views, admin style api is all polished off, loads of tests, new test project for running the test. All sorts of goodness. Getting ready to push this out now. 2011-02-19 10:26:27 +00:00