def __init__(self, *args, **kwargs):
    if ('password' not in kwargs):
        raise ValueError('User must have a password')
    super().__init__(*args, **kwargs)
def __init__(self, *args, **kwargs):
    if ('password' not in kwargs):
        raise ValueError('User must have a password')
    super().__init__(*args, **kwargs)