I know how to import txt files to mysql. But since I'm using Django now, I created a model called dataset. How can I import the data.txt to the dataset model in Django? Each row of the data.txt file consists of several columns, each of which corresponds to one field of the model.
I'm using Django with MySQL.
Any code or hint would be appreciated.