[Python] Django - Create A Zip of Multiple Files and Make It Downloadable [duplicate]

Discussão em 'Python' iniciado por Stack, Setembro 26, 2024.

  1. Stack

    Stack Membro Participativo


    (Feel free to point me to any potential duplicates if I have missed them)

    I have looked at this snippet: http://djangosnippets.org/snippets/365/

    and this answer:

    but I wonder how I can tweak them to suit my need: I want multiple files to be zipped and the archive available as a download via a link (or dynamically generated via a view). I am new to Python and Django so I don't know how to go about it.

    Thank in advance!

    Continue reading...

Compartilhe esta Página