feat: CRUD for product barcode images

This commit is contained in:
2024-11-01 17:23:58 +04:00
parent cbe3697f1b
commit 5ed42d99dc
11 changed files with 210 additions and 4 deletions

View File

@@ -12,6 +12,8 @@ ENV.globals['now'] = datetime.now
ENV.globals['encode128'] = encode128
ENV.globals['format_number'] = lambda x: '{:,}'.format(x).replace(',', ' ')
API_ROOT = "/api"
APP_PATH = os.path.dirname(sys.executable) if getattr(sys, 'frozen', False) else os.path.dirname(__file__)
allowed_telegram_ids = [