Tom Christie
3fcc01273c
Remove deprecated code
2013-06-27 20:29:52 +01:00
Tom Christie
6d2ca75d8e
Don't raise AttributeError on views with no model or queryset, when using DjangoModelPermissions
2013-06-18 11:10:56 +01:00
Tom Christie
aff88d15f7
Version 2.3.3
2013-05-16 15:08:12 +01:00
Tom Christie
b65b065375
Add DjangoModelPermissionsOrAnonReadOnly
2013-04-30 14:34:28 +01:00
Tom Christie
dc7b1d6430
2.2's PendingDeprecationWarnings now become DeprecationWarnings. 2.3's PendingDeprecationWarnings added.
2013-04-29 12:45:00 +01:00
Tom Christie
4bf1a09bae
Ensure implementation of reverse relations in 'fields' is backwards compatible
2013-04-23 11:31:38 +01:00
Tom Christie
043d748b53
Tweak
2013-03-12 20:12:28 +00:00
Tom Christie
f513db714d
Clean up TokenHasReadWriteScope slightly
2013-03-12 19:07:30 +00:00
Tom Christie
e8db504a98
Merge master
2013-03-12 18:49:38 +00:00
Pierre Dulac
eec8efafc3
Add the implementation for TokenHasReadWriteScope permissions w/ oauth 1
2013-03-10 14:40:20 +01:00
Pierre Dulac
e03906a5c4
Add TokenHasReadWriteScope class for permissions based on scopes
2013-03-10 14:08:29 +01:00
Tom Christie
69d169f5f6
Neater override hooks and more docs for DjangoModelPermissions.
...
Refs #702 .
2013-03-08 23:42:20 +00:00
Tom Christie
09b01887f2
New style object-level permission checks
2013-02-12 08:58:28 +00:00
Tom Christie
69dcf13da9
Bugfix for DjangoModelPermissions. Fixes #437
...
Turns out that Django's default permissions backend always returns
False when checking object-level permissions, even if the user does
have valid global permissions.
2013-02-10 16:43:52 +00:00
Tom Christie
b052c92ac3
Cleanup imports
...
Mostly adding `from __future__ import unicode_literals` everywhere.
2013-02-04 20:55:35 +00:00
Tom Christie
fd89bca35f
Version 2.1.6. AKA: I am a doofus.
2012-11-23 13:21:18 +00:00
Tom Christie
412f737ab2
Typo. Fixes #437 .
2012-11-23 13:09:14 +00:00
Tom Christie
af96fe05d0
Add AllowAny class
2012-10-27 20:17:49 +01:00
Tom Christie
44207a347a
pep8
2012-10-27 10:33:01 +01:00
Tom Christie
9c1fba3483
Tweak parsers to take parser_context
2012-10-15 13:27:50 +01:00
Tom Christie
ccd2b0117d
Permissions and throttles no longer have a view attribute on self. Explicitly passed to .has_permissions(request, view, obj=None) / .allow_request(request, view)
2012-10-10 10:02:37 +01:00
Tom Christie
7efc6e8205
Remove dumbass __all__ variables
2012-09-20 13:22:07 +01:00
Tom Christie
4b691c4027
Change package name: djangorestframework -> rest_framework
2012-09-20 13:06:27 +01:00