(instance, **kwargs)
Calculates a User's gravatar hash from their email address.
Calculates a User's gravatar hash from their email address.
Calculates a User s gravatar hash from their email address .
def calculate_gravatar_hash(instance, **kwargs):
    """Calculates a User's gravatar hash from their email address."""
    if kwargs.get('raw', False):
        return
    instance.gravatar = hashlib.md5(instance.email).hexdigest()
def calculate_gravatar_hash ( instance , * * kwargs ) : if kwargs . get ( 'raw' , False ) : return instance . gravatar = hashlib . md5 ( instance . email ) . hexdigest ( )