init depot renew
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pathlib import Path
|
||||
from marshmallow import (
|
||||
Schema,
|
||||
fields,
|
||||
validates_schema,
|
||||
ValidationError,
|
||||
post_load,
|
||||
)
|
||||
|
||||
BACKEND_DIR = Path(__file__).absolute().parent.parent.parent
|
||||
ROOT_DIR = BACKEND_DIR.parent
|
||||
CUSTOM_STATIC_FOLDER = fields.String(load_default=ROOT_DIR / "1_Packages")
|
||||
print(CUSTOM_STATIC_FOLDER)
|
||||
|
||||
Reference in New Issue
Block a user