Commit Graph

12 Commits

Author SHA1 Message Date
Sébastien Piquemal
926059dad6 new-style resources + tests 2012-01-03 19:17:25 +02:00
Sébastien Piquemal
59e6cd9892 merged master into experimental 2012-01-03 11:02:46 +02:00
Tom Christie
d53f7f45b4 Use 1.4's CSRFMiddleware, so that PUT and DELETE get CSRF validation if session authentication is being used 2011-12-14 20:10:06 +00:00
Tom Christie
a32eb50bae De-couple request/response layer CRUD, from underlying resource CRUD. 2011-12-14 14:48:51 +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
5db422c9d3 Add pagination. Thanks @devioustree! 2011-12-09 13:37:53 +00:00
Tom Christie
8136a94ebe Revert pagination stuff
This reverts commit d1af049698.
2011-07-19 20:38:13 +01:00
Tom Drummond
d1af049698 Added tests for pagination 2011-07-19 18:00:50 +01:00
Tom Christie
4c590df712 typo in test 2011-07-11 20:53:05 +01:00
Craig Blaszczyk
91b9d0b2a3 remove hardcoded model._meta.many_to_many[0]; update mixin tests to test with 0, 1, or multiple groups 2011-07-08 18:14:52 +01:00
Craig Blaszczyk
6e6b35b5c0 add unit tests which show m2m creation failing for through table 2011-07-08 17:37:20 +01:00
Fernando Zunino
8a2944acdf Tests for CreateModelMixin (unit and integration test via ListOrCreateModelView). 2011-07-07 23:33:39 -03:00