  from rest_framework import serializers
  
  
  class AuthTokenSerializer(serializers.Serializer):
      username = serializers.CharField()
      password = serializers.CharField(style={'input_type': 'password'})
  
      def validate(self, attrs):
          username = attrs.get('username')
          password = attrs.get('password')
  
 
</s> remove     key = models.CharField(max_length=40, primary_key=True)
 </s> add     key = models.CharField(_("Key"), max_length=40, primary_key=True) </s> remove                                 on_delete=models.CASCADE)
    created = models.DateTimeField(auto_now_add=True)
 </s> add                                 on_delete=models.CASCADE, verbose_name=_("User"))
    created = models.DateTimeField(_("Created"), auto_now_add=True)
    username = serializers.CharField(label=_("Username"))
    password = serializers.CharField(label=_("Password"), style={'input_type': 'password'})
  from rest_framework import serializers
  
  
  class AuthTokenSerializer(serializers.Serializer):
    username = serializers.CharField(label=_("Username"))
    password = serializers.CharField(label=_("Password"), style={'input_type': 'password'})
    username = serializers.CharField(label=_("Username"))
    password = serializers.CharField(label=_("Password"), style={'input_type': 'password'})
  
      def validate(self, attrs):
          username = attrs.get('username')
          password = attrs.get('password')
  
keep keep keep keep replace replace keep keep keep keep keep
 enhancement #3886 Internationalization in admin interface rest_framework.authtoken

+ verbose_name in models.Token fields
+ Meta-options verbose_name & verbose_name_plural
+ Labels in AuthTokenSerializer fields in case of usages in Brousable API
+ provide AppConfig class as described in django documentation with verbose_name came through ugettext_lazy 
rest_framework/authtoken/serializers.py