mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 04:24:00 +03:00
Updated DjangoCon US 2012 Sprints (markdown)
parent
7e5d522674
commit
14026293e6
|
@ -71,7 +71,7 @@ Resources are view-like classes that implement everything except the actual `.ge
|
||||||
|
|
||||||
I think the base ModelResource will probably need to be composed of `APIView` Django's `MultipleObjectMixin` *and* `SingleObjectMixin`, plus *all* the REST framework mixins.
|
I think the base ModelResource will probably need to be composed of `APIView` Django's `MultipleObjectMixin` *and* `SingleObjectMixin`, plus *all* the REST framework mixins.
|
||||||
|
|
||||||
> Maybe instead it can just be derived from `object`, and act as a mixin itself. Then, the routers would just construct classes that derive from the appropriate mixins as needed. - @mjumbewu
|
> Maybe instead it can just be derived from `object`, and act as a mixin itself. Then, the routers would just construct classes that derive from the appropriate mixins as needed. I'm gonna try that approach out. - @mjumbewu
|
||||||
|
|
||||||
### Test out object-level permissions.
|
### Test out object-level permissions.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user