project structure and database

This commit is contained in:
2025-07-27 19:34:40 +04:00
parent 833bcd6ff7
commit 361f94323c
23 changed files with 474 additions and 11 deletions

13
constants.py Normal file
View File

@ -0,0 +1,13 @@
import os
import sys
DOMAIN_NAME = "crm.logidex.ru"
API_ROOT = "/api"
APP_PATH = (
os.path.dirname(sys.executable)
if getattr(sys, "frozen", False)
else os.path.dirname(__file__)
)
STATIC_PATH = os.path.join(APP_PATH, "static")