tomchristie/django-rest-framework — pull request #177 by sebpiq (2012-02-23 21:49:08+00:00)
Title: Auth moved to request

Yo ! Now auth moved to request ... and you can use [request.user](https://github.com/sebpiq/django-rest-framework/blob/develop/djangorestframework/views.py#L217) !!!
Like I suggested in #164, I added a [test for the permissionsexamples](https://github.com/sebpiq/django-rest-framework/blob/develop/examples/permissionsexample/tests.py#L6). Very short, just to quickly test that examples are not completely broken. I think it would be good to write the others when the occasion presents itself ... and then, add that to CI maybe ? Also, I noticed that [blog post examples](https://github.com/sebpiq/django-rest-framework/blob/develop/examples/blogpost/resources.py#L15) are broken ... because obviously their is no request object around... I didn't bother fixing that - too lazy - and also because I guess it's a more complicated issue.

Last comment, have you considered using `nose` instead of writing custom test scripts (like `runtests.py`)? I use it for all my Django projects ... it's really awesome for testing and debugging, and dead simple to use with [django_nose](https://github.com/jbalogh/django-nose) !