Refactor frontend components and backend migrations
- Removed TradingGraph component from frontend/src/components/trading. - Updated home page to import Services component and TradingGraph from new path. - Modified PortfolioPage to return null instead of PortfolioGrid. - Added initial migrations for account, advertisement, commerce, configuration, downloader, gopay, stripe, trading212, and zasilkovna apps in the backend. - Created Services component with subcomponents for Kinematografie, Drone Service, and Website Service. - Implemented TradingGraph component with dynamic data generation and canvas rendering. - Updated DonationShop component to display donation tiers with icons and descriptions.
This commit is contained in:
5
backend/thirdparty/zasilkovna/serializers.py
vendored
5
backend/thirdparty/zasilkovna/serializers.py
vendored
@@ -35,7 +35,10 @@ class TrackingURLSerializer(serializers.Serializer):
|
||||
# -- SHIPMENT --
|
||||
|
||||
class ZasilkovnaShipmentSerializer(serializers.ModelSerializer):
|
||||
packets = serializers.PrimaryKeyRelatedField(many=True)
|
||||
packets = serializers.PrimaryKeyRelatedField(
|
||||
many=True,
|
||||
queryset=ZasilkovnaPacket.objects.all()
|
||||
)
|
||||
|
||||
class Meta:
|
||||
model = ZasilkovnaShipment
|
||||
|
||||
Reference in New Issue
Block a user