Working example of django-rest-framework using OAuth2Authentication (django-oauth2-provider) and SessionAuthentication.