Hi Musksan,
You need to implement some functionality to upload the CSV file and read it
then upload data into into database in bulk. You can django has a way to
add multiple objects using bulk_create. Here is a full example I hope it
will help.
https://github.com/pmutua/drf_csv_xlsx_file_upload
Hi,
You check an Implementation I did using Django Rest framework over here
hope that it will help you. I was using pandas to read the csv records to
the model.
https://github.com/pmutua/drf_csv_xlsx_file_upload/blob/master/patients/views.py
On Thu, Apr 29, 2021 at 5:23 PM 'Muhammad Asim Khaskheli