-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
19 lines (16 loc) · 727 Bytes
/
constants.py
File metadata and controls
19 lines (16 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
constants = {
# ---- INT values
'SHORT_LENGTH' : 20,
'MEDIUM_LENGTH' : 50,
'LONG_LENGTH' : 100,
'LONG_TEXT_DESCRIPTION' : 140,
'UNIT_LENGTH' : 2,
'PRICE_PRECISION' : 2,
# --- Strings
'HELP_PARSER' : "This field can not be left blank!",
'ITEM_EXISTS' : "An item with descripton '{}' already exists.",
'MATERIAL_NOT_EXIST' : "Material id '{}' provided was not found. Recipe not created/updated.",
'INSERT_FAIL' : "An error occurred upon inserting the item into the database.",
'DELETED' : "Item was deleted.",
'ID_NOT_FOUND' : "The provided id does not exist in the database."
}