Re: excel file upload to MySQL database
You could also try: https://django-import-export.readthedocs.org/en/latest/ On Wednesday, 13 January 2016 16:30:04 UTC+2, girija sameera wrote: > > Hello, > I am a Django beginner working on a web application wherein I am > required to provide back-end support. I am expected to take an excel file > uploaded by the admin from the template , parse the file using available > Django libraries and upload it to MySQL database . Also bulk upload of > files needs to be supported. > > I would like some suggestions on how to proceed.I would really appreciate > links to tutorials and websites. > > Thank you, > > Girija > > > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/690f4f59-ce8b-488d-af0f-2f0f25f99465%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: excel file upload to MySQL database
Why don’t you try and see. François > On Jan 14, 2016, at 4:52 AM, girija sameerawrote: > > Ok will see that. Also I found this > http://django-excel.readthedocs.org/en/latest/ > > Do you think it would work? > > Thank you. > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@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/447f8e90-5daf-44c9-a376-e4fed8208972%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/D8DA4A4B-AD87-4A86-BAB2-8D53621CAF3E%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: excel file upload to MySQL database
Ok will see that. Also I found this http://django-excel.readthedocs.org/en/latest/ Do you think it would work? Thank you. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/447f8e90-5daf-44c9-a376-e4fed8208972%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: excel file upload to MySQL database
You can also use xlrd to open .xls files if needed: https://pypi.python.org/pypi/xlrd François > On Jan 13, 2016, at 10:48 AM, Larry Martellwrote: > > On Wed, Jan 13, 2016 at 9:26 AM, girija sameera > wrote: >> >> Hello, >> I am a Django beginner working on a web application wherein I am required >> to provide back-end support. I am expected to take an excel file uploaded by >> the admin from the template , parse the file using available Django >> libraries and upload it to MySQL database . Also bulk upload of files needs >> to be supported. >> >> I would like some suggestions on how to proceed.I would really appreciate >> links to tutorials and websites. > > This is something you'd typically do on the server side from python. > You can use a lib like openpyxl for that > (https://pypi.python.org/pypi/openpyxl) > > -- > 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+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@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/CACwCsY4pRdid9H1_XVrF1mVGfPkOz%2Bs4z1-a1aVmpVb2zZrEzg%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/57E82E9F-CA4F-4A02-831C-B7014A665A73%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: excel file upload to MySQL database
On Wed, Jan 13, 2016 at 9:26 AM, girija sameerawrote: > > Hello, > I am a Django beginner working on a web application wherein I am required > to provide back-end support. I am expected to take an excel file uploaded by > the admin from the template , parse the file using available Django libraries > and upload it to MySQL database . Also bulk upload of files needs to be > supported. > > I would like some suggestions on how to proceed.I would really appreciate > links to tutorials and websites. This is something you'd typically do on the server side from python. You can use a lib like openpyxl for that (https://pypi.python.org/pypi/openpyxl) -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@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/CACwCsY4pRdid9H1_XVrF1mVGfPkOz%2Bs4z1-a1aVmpVb2zZrEzg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.