added docstrings to event controller and moved constants
This commit is contained in:
9
server/app/constants/__init__.py
Normal file
9
server/app/constants/__init__.py
Normal file
@@ -0,0 +1,9 @@
|
||||
ALLOWED_FILES_TYPES = ["image/jpeg", "image/png"]
|
||||
ONE_MB = 1000000
|
||||
|
||||
# sql table names
|
||||
SERIES_TABLE = "series"
|
||||
EVENT_TABLE = "events"
|
||||
GROUP_TABLE = "group_table"
|
||||
MUSICIAN_TABLE = "musicians"
|
||||
USER_TABLE = "users"
|
||||
Reference in New Issue
Block a user