Fix setup_config append handling for multi-value fields#518
Fix setup_config append handling for multi-value fields#518Moksha25-tech wants to merge 1 commit intocertego:developfrom
Conversation
|
@Moksha25-tech it seems to not work: Returns: |
|
and linters failed in the CI |
I will look into this again. |
ec8b992 to
41c98d7
Compare
|
Hi @Lorygold I have updated the PR to resolve the issues discussed. Here is a summary of the fixes:
Code Patch Details: |
|
Hi @Moksha25-tech , the unit tests are missed and in addition to that, the #562 PR has been completed, sorry for that but I didn't get responses about the task in the related issue, so I've assigned it again. |
|
@lucaCigarini @eugenioseveri this can be closed Already solved by the PR #562 |
Summary
This PR fixes an issue in the
setup_configmanagement command where the--appendoption failed for multi-value (ArrayField) configuration fields when a single value was provided.Previously, appending a single value caused incorrect iteration over individual characters instead of treating the input as a single list entry.
Changes
Testing
setup_configappend behaviordocker compose run --rm buffalogs \ python manage.py test impossible_travel.tests.task.test_management_commands