Add wishlist feature and admin/analytics endpoints
Introduces a Wishlist model with related serializers, admin, and API endpoints for users to manage favorite products. Adds admin endpoints for wishlist management and a placeholder AnalyticsViewSet for future business intelligence features. Refactors permissions for commerce views, updates product filtering and ordering, and improves carrier and payment logic. Also includes minor VSCode settings and Zasilkovna client import updates.
This commit is contained in:
3
backend/thirdparty/zasilkovna/client.py
vendored
3
backend/thirdparty/zasilkovna/client.py
vendored
@@ -3,6 +3,8 @@ from zeep.exceptions import Fault
|
||||
from zeep.transports import Transport
|
||||
from zeep.cache import SqliteCache
|
||||
|
||||
from configuration.models import Configuration
|
||||
|
||||
import tempfile
|
||||
import base64
|
||||
import logging
|
||||
@@ -15,6 +17,7 @@ logger = logging.getLogger(__name__)
|
||||
WSDL_URL = os.getenv("PACKETA_WSDL_URL", "https://www.zasilkovna.cz/api/soap.wsdl")
|
||||
PACKETA_API_PASSWORD = os.getenv("PACKETA_API_PASSWORD")
|
||||
|
||||
Configuration.g
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user