HH/apps/complaints
ismail a19ffbf320
All checks were successful
Build and Push Docker Image / build (push) Successful in 2m5s
fix: complaint API create — due_at no longer required (auto-calculated by model.save())
The ComplaintSerializer inherited 'required' for due_at from the model field
(not nullable at DB level), but the model's save() method auto-calculates
it via calculate_sla_due_date(). Added extra_kwargs = {'due_at': {'required': False}}
so API callers can omit it. Verified: POST without due_at returns 201 + reference.
2026-06-18 22:47:52 +03:00
..
2025-12-24 12:42:31 +03:00
2026-05-11 14:45:30 +03:00
2025-12-25 17:11:40 +03:00
2026-01-15 15:02:42 +03:00