mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
add string-format lib to format error messages
This commit is contained in:
@@ -13,8 +13,6 @@ from hyperglass.configuration.models._utils import HyperglassModel
|
||||
class Messages(HyperglassModel):
|
||||
"""Class model for params.messages"""
|
||||
|
||||
no_query_type: str = "A query type must be specified."
|
||||
no_location: str = "A location must be selected."
|
||||
no_input: str = "{field} must be specified."
|
||||
acl_denied: str = "{target} is a member of {denied_network}, which is not allowed."
|
||||
acl_not_allowed: str = "{target} is not allowed."
|
||||
|
Reference in New Issue
Block a user