Craig Blaszczyk
7070fa298c
change text of PERMISSION_DENIED response
2011-07-26 12:10:54 +01:00
Craig Blaszczyk
3eba22eea4
add permission denied error message
2011-07-26 12:03:27 +01:00
Craig Blaszczyk
f71f3aa422
reword error message when user not logged in; add request to permission (so we can check permissions based on the type of request)
2011-07-26 11:57:33 +01:00
Tom Christie
b9fcea093c
Edited djangorestframework/permissions.py via GitHub
2011-07-19 14:33:02 -07: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
Tom Christie
fb26b11a75
Add PerViewThrottling and PerResourceThrottling to __all__
2011-06-14 10:31:18 +01:00
Tom Christie
612d335c4c
Add PerViewThrottling and PerResourceThrottling to __all__
2011-06-14 10:30:29 +01:00
markotibold
437a062b6c
implemeneted #28
2011-06-13 20:42:37 +02:00
markotibold
5be359fb29
* implemented Tom's nice config string for the trotlle rate e.g. '3/sec'
...
* We now have per-user, per-view and per-resource throttling
* Added a new exxception class as a convenience to detect pointless throttles
* refactored
2011-06-11 20:34:54 +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
8ef333a29f
implemented testing of per user throttling
2011-06-11 01:48:10 +02:00
markotibold
82c4ca9612
The core is now documented from the docstrings in the source.
2011-05-19 19:36:30 +02: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
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