def mbox(request, bundle_id):
bundle = get_object_or_404(Bundle, id = bundle_id)
response = HttpResponse(mimetype='text/plain')
+ response['Content-Disposition'] = 'attachment; filename=bundle-%d.mbox' % \
+ bundle.id
response.write(bundle.mbox())
return response
context.update({'bundle': bundle,
'user': user});
return render_to_response('patchwork/bundle-public.html', context)
-
-@login_required
-def set_patches(request):
- context = PatchworkRequestContext(request)
-