(name, active=True)
return Domain.get_or_create_with_name(name=name, is_active=active,
                                          secure_submissions=False)
Create domain without secure submissions for tests
Create domain without secure submissions for tests
Create domain without secure submissions for tests
def create_domain(name, active=True):
    """Create domain without secure submissions for tests"""
    return Domain.get_or_create_with_name(name=name, is_active=active,
                                          secure_submissions=False)
def create_domain ( name , active = True ) : return Domain . get_or_create_with_name ( name = name , is_active = active , secure_submissions = False )