Changes between Version 1 and Version 2 of CookBookDynamicZip


Ignore:
Timestamp:
08/21/2006 07:11:18 AM (9 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')
Back to Top