Even with the Authentication option, you do not have small-scale control over what people can do. The current implementation of the Django-REST interface does not track user information, so you do not have this information to perform small-scale authorization checks.
See Problem No. 32 .
However, it is relatively easy to extend it to add some features. I use many subclasses to add functions.
Updating a request with login information, however, is difficult in Django. Instead, I leave the information in the Collection.
Right now, I would appreciate that between the patches and subclasses, what I wrote is about the same as porting my own RESTful view functions.
Django-REST, however, elegantly and accurately handles HTTP Digest authentication. I'm not looking forward to replacing them with some kind of decorator for my Django view functions.
[Perhaps we should open the original forge project and work out a clean replacement?]
S. Lott Oct 18 '08 at 11:49 2008-10-18 11:49
source share