def edit(page, variant=Text.HEAD): if not page.instance.use_norms: return False return _variant.edit(page, variant)
def edit(check, page, variant=Text.HEAD): check.valid_email() check.other('page_instance_without_norms', not page.instance.use_norms) _variant.edit(check, page, variant)