Move remove_empty_string filter to BaseForm and use the filter to coerce the role to be None
This commit is contained in:
@@ -217,4 +217,4 @@ REQUIRED_DISTRIBUTIONS = [
|
||||
("other", "Other as necessary"),
|
||||
]
|
||||
|
||||
ENV_ROLES = [(role.value, role.value) for role in CSPRole] + [("", "No access")]
|
||||
ENV_ROLES = [(role.value, role.value) for role in CSPRole] + [(None, "No access")]
|
||||
|
Reference in New Issue
Block a user