def sample_user(email='example@example.com', password='testpass'):
    'Creating sample user'
    return get_user_model().objects.create_user(email, password)
Creating sample user
def sample_user(email='example@example.com', password='testpass'):
    
    return get_user_model().objects.create_user(email, password)