Changes between Version 1 and Version 2 of CookBookDynamicZip


Ignore:
Timestamp:
Aug 21, 2006, 7:11:18 AM (18 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