My task is to upload a .csv file and dump the data in a postgresql database using django.
How can I create a table dynamically in postgresql using django to dump the .csv data into the database?
I have searched and found examples where we have to give attribute names while creating table but in my case I would not know the attribute names of the uploaded .csv beforehand.
How should I do the above?
I will be thankful if anyone can share some related links.