You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings can be uuids, and some uuids are valid Python expressions, so running literal_eval on a settings value might raise a ValueError (to reject an expression) rather than SyntaxError
Done here in Jisc, needs porting to core. JiscSD#14
And also notes, it might be an idea to move set_setting and the others into the Setting model, if there’s business logic for a model it should be in the model.
Settings can be uuids, and some uuids are valid Python expressions, so running
literal_eval
on a settings value might raise aValueError
(to reject an expression) rather thanSyntaxError
Done here in Jisc, needs porting to core. JiscSD#14
Related to #211
The text was updated successfully, but these errors were encountered: