20645 CSVChoiceField use default if blank #936

Closed
opened 2026-04-05 19:01:09 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @arthanson on 10/30/2025

Fixes: #20645

This fix now allows any other model using CSVChoiceField to properly use model defaults when CSV columns are present but empty. For example, when a cable is imported with an empty status field.

This fix is limited to CSV import forms only and doesn't affect web UI forms or other form types.

*Originally created by @arthanson on 10/30/2025* ### Fixes: #20645 This fix now allows any other model using CSVChoiceField to properly use model defaults when CSV columns are present but empty. For example, when a cable is imported with an empty status field. This fix is limited to CSV import forms only and doesn't affect web UI forms or other form types.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#936