summaryrefslogtreecommitdiff
path: root/packages/views/signoff.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/views/signoff.py')
-rw-r--r--packages/views/signoff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/views/signoff.py b/packages/views/signoff.py
index 340b2311..17f3095c 100644
--- a/packages/views/signoff.py
+++ b/packages/views/signoff.py
@@ -67,7 +67,7 @@ def signoff_package(request, name, repo, arch, revoke=False):
'user': str(request.user),
}
return HttpResponse(json.dumps(data, ensure_ascii=False),
- mimetype='application/json')
+ content_type='application/json')
return redirect('package-signoffs')
@@ -181,7 +181,7 @@ def signoffs_json(request):
'signoff_groups': signoff_groups,
}
to_json = json.dumps(data, ensure_ascii=False, cls=SignoffJSONEncoder)
- response = HttpResponse(to_json, mimetype='application/json')
+ response = HttpResponse(to_json, content_type='application/json')
return response
# vim: set ts=4 sw=4 et: