Skip to content
Showing 1-3 of 3 items.
@renovate
Admin 04/11/2021 18:10
Export zip of multiple csv files in Django

Exporting files is a frequently happen feature where the user could get their data out. Today, I will try to export the data to a zip file within multiple CSV files. (Image by Tayeb MEZAHDIA from Pixabay) Application Models Assume we have the simplest libraries system where a book could belong to many libraries. The models like this class Library(models.Model): name = models.TextField() class Book(models.Model): title = models.TextField() libraries = models.ManyToManyField( ...

Django Advance Python Csv Export zip