tomchristie/django-rest-framework — pull request #1036 by alanjds (2013-08-13 18:07:41+00:00)
Title: New authentication.TokenBackend Django's backend

To be used at settings like this:

```python
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
'rest_framework.authentication.TokenBackend',
)
```

and on views like this:
```python
user = authenticate(token=token_key)
if user is not None:
login(request, user)
```