I have User model and serializer class which represents it.
class User(models.Model): username = models.CharField(unique=True, max_length=50) is_admin = model