1

is there any way to import csv file to django rest framework models? Thank You in advance.

1 Answers1

1

Using python csv you can open/read/write/modify any csv file. Using this method, you can parse your file and save it using DRF.

I wont post any code because its a general understanding question. Good Luck.

https://docs.python.org/2/library/csv.html

Reading a CSV file using Python

Gal Silberman
  • 3,491
  • 4
  • 30
  • 56