-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Description
allocation uses literal_eval (accepts negative values):
coldfront/coldfront/core/allocation/models.py
Line 483 in 46d0eba
| if not isinstance(literal_eval(self.value), int): |
project uses formencode.validators.Int() (accepts negative values):
| validate = validators.Int() |
and resource uses str.isdigit():
coldfront/coldfront/core/resource/models.py
Line 257 in 46d0eba
| if expected_value_type == "Int" and not self.value.isdigit(): |
Metadata
Metadata
Assignees
Labels
No labels