-
Copy the
file_zipper.py
file on the level of yourmanage.py
-
Run the following command
python file_zipper.py
- You can change the files and directories that you want to be excluded from the zip by adding the files and directories names to the
exclude_list
variable - You can change the name of the output zip file by giving a second parameter to the
zip_current_level
function