summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-03 11:44:05 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit0d112b1d9749da4b6b527ae24c328b3d85e7d1b2 (patch)
tree458e75d3ed32cf468435f7f9998a064c992539de
parent519236490dad3851e0047790b123902f30e343a8 (diff)
downloadopenembedded-core-contrib-0d112b1d9749da4b6b527ae24c328b3d85e7d1b2.tar.gz
openembedded-core-contrib-0d112b1d9749da4b6b527ae24c328b3d85e7d1b2.tar.bz2
openembedded-core-contrib-0d112b1d9749da4b6b527ae24c328b3d85e7d1b2.zip
rrs/views: replace mimetype with content_type
Adapt to this change that happened sometime in Django 1.7. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--rrs/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrs/views.py b/rrs/views.py
index f782136e3a..2289f28bcd 100644
--- a/rrs/views.py
+++ b/rrs/views.py
@@ -575,7 +575,7 @@ def recipes_report(request, maintplan_name, release_name, milestone_name):
recipe_list = _get_recipe_list(milestone)
- response = HttpResponse(mimetype='text/csv')
+ response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = 'attachment; filename="%s_%s.csv"' % (
release_name , milestone_name)