Uplaod execl file to populate django database

19 views
Skip to first unread message

JJEMBA KENNETH

unread,
Mar 13, 2017, 2:52:29 AM3/13/17
to django...@googlegroups.com
Hello guyz,
Can any one help with this. I want to upload an excel file with data and i use this data to populate the database.

--
Jjemba kenneth

Shawn Milochik

unread,
Mar 13, 2017, 4:37:32 AM3/13/17
to django...@googlegroups.com
1. Write code that puts data into your models. Do the Django tutorial if you don't know how.

2. Write code that reads data out of your​ Excel file using the appropriate library, easily found on pypi.

3. Use them together. 

Rafael E. Ferrero

unread,
Mar 13, 2017, 7:25:34 AM3/13/17
to django...@googlegroups.com

Thiago Parolin

unread,
Mar 13, 2017, 8:05:36 AM3/13/17
to django...@googlegroups.com
I change my excel to csv file and populate db

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJJc_8U4-sM-hhVO0qh1__j%3DaqnCPcmG3TgU2E8VpwwsNmfgQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages