  
          Authorization: Token 401f7ac837da42b97f613d789819ff93537bee6a
      """
  
      model = Token
      """
      A custom token model may be used, but must have the following properties.
  
      * key -- The string identifying the token
      * user -- The user to which the token belongs
 
</s> remove     class Meta:
        # Work around for a bug in Django:
        # https://code.djangoproject.com/ticket/19422
        #
        # Also see corresponding ticket:
        # https://github.com/tomchristie/django-rest-framework/issues/705
        abstract = 'rest_framework.authtoken' not in settings.INSTALLED_APPS

 </s> add  </s> remove             token = self.model.objects.select_related('user').get(key=key)
 </s> add             token = self.get_model().objects.select_related('user').get(key=key) </s> remove from rest_framework.authtoken.models import Token
 </s> add 
    model = None

    def get_model(self):
        if self.model is not None:
            return self.model
        from rest_framework.authtoken.models import Token
        return Token

  
          Authorization: Token 401f7ac837da42b97f613d789819ff93537bee6a
      """
  
    model = None

    def get_model(self):
        if self.model is not None:
            return self.model
        from rest_framework.authtoken.models import Token
        return Token

      """
      A custom token model may be used, but must have the following properties.
  
      * key -- The string identifying the token
      * user -- The user to which the token belongs
keep keep keep keep replace keep keep keep keep keep
 don't import authtoken model until needed 
rest_framework/authentication.py