Hello, I have built a view that takes in dataframes, runs them through a function and then ultimately pumps out a results dataframe that is transformed into a HTML object and displayed on the webapp homepage. Now, I am trying to add in an "Export as CSV" button that upon being clicked will download that table/dataframe to a .csv file to the user's downloads folder. Any help on how to do this? I am struggling to find anything on how specifically to do this.
I was thinking maybe create a new view or function within HTML code that uses some sort of write csv function but not sure. 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fc48decd-31b8-4435-a6e5-9e57ba263b9dn%40googlegroups.com.