ixg_platform/apps/shipments
ixgadmin dae025f600 Enforce the shipment form's rules in the API
The ops form refuses a shipment with no vessel, container, ETD or ETA, and one
whose departure is after its arrival. The serializer now requires the same
fields and refuses the same contradiction, so the API cannot accept a record the
portal would reject. Partial updates stay partial: a status change alone does
not require the other fields, and the date check falls back to the stored values.
2026-09-17 16:03:11 +00:00
..
migrations Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
__init__.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
admin.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
apps.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
models.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
serializers.py Enforce the shipment form's rules in the API 2026-09-17 16:03:11 +00:00
urls.py Initial commit: IXG Platform 2026-07-29 16:48:48 +00:00
views.py Restrict every data API to ops and admin 2026-09-17 15:53:44 +00:00