@classmethod
def from_django_user(cls, user):
    """
        Create Akismet author from django user.

        :type user: django.contrib.auth.models.User
        """
    return cls(name=user.get_full_name(), email=user.email, role=
        'administrator' if user.is_staff else None)
