Should codelist_update
allow a user to upload a new CSV file?
#2087
Labels
codelist_update
allow a user to upload a new CSV file?
#2087
The
codelist_create
view allows a user to upload a CSV file to create an "old style" codelist.opencodelists/codelists/views/codelist_create.py
Lines 19 to 25 in 55332b8
The CSV file need not adhere to a schema; the data in the CSV file are validated and cleaned and associated with the instance.
However, the corresponding
codelist_update
view doesn't allow a user to upload a new CSV file to update the codelist.opencodelists/codelists/views/codelist_update.py
Lines 14 to 22 in 55332b8
@andrewscolm created a codelist from a CSV file that had
code
,term 1
, andterm 2
columns. However, he couldn't update this codelist from a new CSV file.1 Possibly Colm should create a new codelist?It's not clear whether modifying
codelist_update
is desirable, given the distinction between "new style" and "old style" codelists.Footnotes
https://bennettoxford.slack.com/archives/C31D62X5X/p1728646729192689 ↩
The text was updated successfully, but these errors were encountered: