feat: add ReferenceItem model and update QuickEvaluation FKs #23

Merged
husanjon merged 1 commits from feat/quick-evaluation-create-api into main 2026-03-09 11:04:38 +00:00
Owner
  • Create ReferenceitemModel with type, name, parent (self FK), order, is_active fields
  • Add ReferenceType choices: brand, marka, color, fuel_type, body_type, car_position, state_car
  • Implement ReferenceItem API (list, retrieve) with filter by type/parent/is_active, search, ordering
  • Add ReferenceItem admin with list_filter, search, inline editing
  • Change QuickEvaluation FK fields from shared.OptionsModel to evaluation.ReferenceitemModel
  • Update serializers and views to use .name instead of .key
  • Add ReferenceItem to unfold admin navigation
- Create ReferenceitemModel with type, name, parent (self FK), order, is_active fields - Add ReferenceType choices: brand, marka, color, fuel_type, body_type, car_position, state_car - Implement ReferenceItem API (list, retrieve) with filter by type/parent/is_active, search, ordering - Add ReferenceItem admin with list_filter, search, inline editing - Change QuickEvaluation FK fields from shared.OptionsModel to evaluation.ReferenceitemModel - Update serializers and views to use .name instead of .key - Add ReferenceItem to unfold admin navigation
husanjon added 1 commit 2026-03-09 11:04:34 +00:00
- Create ReferenceitemModel with type, name, parent (self FK), order, is_active fields
- Add ReferenceType choices: brand, marka, color, fuel_type, body_type, car_position, state_car
- Implement ReferenceItem API (list, retrieve) with filter by type/parent/is_active, search, ordering
- Add ReferenceItem admin with list_filter, search, inline editing
- Change QuickEvaluation FK fields from shared.OptionsModel to evaluation.ReferenceitemModel
- Update serializers and views to use .name instead of .key
- Add ReferenceItem to unfold admin navigation
husanjon merged commit 460e3158b8 into main 2026-03-09 11:04:38 +00:00
husanjon deleted branch feat/quick-evaluation-create-api 2026-03-09 11:04:38 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sifatbaho/backend-v1#23
No description provided.