15 lines
331 B
Python
15 lines
331 B
Python
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)
|
|
|