Jean7667 / RBM_APP

0 stars 1 forks source link

[USER STORY] : [USER STORY] : AS a Customer I want to import CSV files with a list my list of experts so I can upload new data easily #27

Closed Jean7667 closed 3 months ago

Jean7667 commented 3 months ago

won't have this feature because we can use fixture

I used fixtures instead

dump of data first to get the right format of json file

python manage.py dumpdata app_name.ModelName --output=output_file.json

and then modification and of name with replace all in sublime text

python manage.py loaddata myapp/fixtures/initial_data.json

uploaded a list of 15 experts

Next step use an external library to upload CSV files