summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest
diff options
context:
space:
mode:
Diffstat (limited to 'pgcommitfest/commitfest')
-rw-r--r--pgcommitfest/commitfest/ajax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/ajax.py b/pgcommitfest/commitfest/ajax.py
index 35b05e4..cffc33d 100644
--- a/pgcommitfest/commitfest/ajax.py
+++ b/pgcommitfest/commitfest/ajax.py
@@ -253,4 +253,4 @@ def main(request, command):
json.dump(_ajax_map[command](request), resp)
return resp
except Http503, e:
- return HttpResponseServiceUnavailable(e, mimetype='text/plain')
+ return HttpResponseServiceUnavailable(e, content_type='text/plain')