tomchristie/django-rest-framework — pull request #1296 by holandes22 (2013-12-15 08:42:58+00:00)
Title: Adding utility method to APIClient

- temporary_credentials acts as the credentials method
but only for a context

I created this utility method in some of my projects, I find it useful so maybe other will do as well.
I see one problem with this: People using python 2.6 would need to import the with statement from __future__ to use it

Thanks