  import binascii
  import os
  
  from django.conf import settings
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
 
</s> remove from django.conf import settings
 </s> add  </s> remove from django.utils import six
import django
import inspect
 </s> add 

  import os
  
  from django.conf import settings
  from django.db import models
  from django.utils.encoding import python_2_unicode_compatible
replace keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/authtoken/models.py