Import CSV file into model Django

I am trying to enter data using the model in the sqlite3, but I am facing a problem in determining the type of this data.

Here is the dataframe:

enter image description here

I have written the following script:

enter image description here

When I run the code: .mode csv, then .import data.csv name_of_model I obtained this result: enter image description here

I have tried to change the type of database but I still get the same result.

Back to Top