'Get the user for the specified activation_key.'

def get_user(self, activation_key):

    try:
        profile = self.get(activation_key=activation_key)
        return profile.user
    except self.model.DoesNotExist:
        return None
