Code

Changes between Version 1 and Version 2 of CookBookDynamicZip


Ignore:
Timestamp:
08/21/06 05:11:18 (8 years ago)
Author:
davidschein@…
Comment:

added imports

Legend:

Unmodified
Added
Removed
Modified
  • CookBookDynamicZip

    v1 v2  
    22{{{ 
    33#!python 
     4import zipfile 
     5from cStringIO import StringIO 
     6from django.utils.httpwrappers import HttpResponse 
     7 
    48def view_that_returns_zipped_file(request): 
    59    response = HttpResponse(mimetype='application/zip')