Commit Graph

14 Commits

Author SHA1 Message Date
Sébastien Piquemal
926059dad6 new-style resources + tests 2012-01-03 19:17:25 +02:00
Tom Christie
07349597ab whitespace fixes 2011-12-29 13:31:12 +00:00
Tom Christie
1cb84cd4e8 Merge throttling and fix up a coupla things 2011-06-15 14:41:09 +01:00
Tom Christie
323d52e7c4 Bits of cleaning up for the throttling 2011-06-14 11:08:29 +01:00
markotibold
437a062b6c implemeneted #28 2011-06-13 20:42:37 +02:00
markotibold
f0b3b9d7ea small fix 2011-06-11 20:29:01 +02:00
markotibold
7bed352e97 refactored and added new tests for per-user, per-view, and per-resource htrottling 2011-06-11 20:21:24 +02:00
markotibold
f854bc9065 * fixed test_request_throttling_is_per_user - it didn't make a request for the 2nd user
* implemented per_resource_throttling  + test

needs refactoring
2011-06-11 03:16:35 +02:00
markotibold
87db5fbda5 implemented per user throttling
(commit to permissions.py fixes a bug that came out of the unittest)
2011-06-11 01:49:22 +02:00
markotibold
63d086ea11 added some throttling tetst. Can't get per-user-throttling testing to work though. :( any help? 2011-06-10 23:53:32 +02:00
Tom Christie
370274f564 Allow views to return HttpResponses. Add initial() hook method 2011-05-24 10:27:24 +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
659898ffaf Inital pass at generic permissions, throttling etc. 2011-04-27 18:08:32 +01:00