Refactor Zasilkovna client, update imports and cleanup

Refactored the Zasilkovna SOAP client to use a singleton pattern with caching and lazy loading, improving reliability and startup performance. Updated invoice PDF generation to import WeasyPrint lazily, preventing startup failures on systems missing dependencies. Cleaned up unused imports and code in several frontend components, removed unused state and variables, and adjusted Docker frontend port mapping. Also updated Django migration files to reflect a new generation timestamp.
This commit is contained in:
2025-12-18 16:23:35 +01:00
parent 1751badb90
commit 72155d4560
21 changed files with 69 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 5.2.9 on 2025-12-14 02:23
# Generated by Django 5.2.7 on 2025-12-18 15:11
import django.core.validators
from django.db import migrations, models