Commit Graph

31 Commits

Author SHA1 Message Date
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
9e9ae60949 forms/models can be set on the view as well as the resource 2011-05-27 10:35:43 +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
c531759147 name and description 2011-05-23 17:07:31 +01:00
Tom Christie
e7f8c06dbb Merge in marko's doc markup 2011-05-19 08:49:57 +01:00
Tom Christie
8c3280f9c0 data flattening needs to go into resource 2011-05-19 08:36:55 +01:00
markotibold
92c015e049 Most of the actual work so far has been markup really. 2011-05-18 22:13:48 +02:00
Tom Christie
bfbb8ceccf Merge Marko's doc improvements. 2011-05-17 09:15:35 +01:00
Tom Christie
1e04790d50 Fixing some of the last blocking issues 2011-05-16 14:11:36 +01:00
Tom Christie
47645319c9 Ensure there is always a resource attribute set 2011-05-13 17:46:31 +01: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
a31a68d6cb yet more API cleanup 2011-05-12 15:14:22 +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
4d12679675 More tests, getting new serialization into resource 2011-05-10 16:01:58 +01:00
Tom Christie
a2575c1191 Bits of cleanup 2011-05-10 12:59:13 +01:00
Tom Christie
cc4c9a9518 Bits of cleanup 2011-05-10 12:51:49 +01:00
Tom Christie
144d52c7b3 Rename resource to view in few remaining places in renderers (because that's what it now is) 2011-05-10 12:28:11 +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
8756664e06 emitters -> renderers 2011-05-02 19:49:12 +01:00
Tom Christie
b358fbdbe9 More refactoring - move various less core stuff into utils etc 2011-04-29 14:32:56 +01:00
Tom Christie
93aa065fa9 emitters -> renderers 2011-04-28 19:54:30 +01:00
Tom Christie
4692374e0d Generic permissions added, allowed_methods and anon_allowed_methods now defunct, dispatch now mirrors View.dispatch more nicely 2011-04-25 01:03:23 +01:00
Tom Christie
6096b50dbe request.py -> mixins.py 2011-04-11 16:54:02 +01:00