ports/www/py-graphite-web/files/patch-webapp__graphite__dashboard__views.py
Steve Wills c8031363ae www/py-graphite-web: add patches to make graphite work with django 1.7
While here, pet portlint and improve pkg-message a bit

Reported by:	brd
2014-09-14 03:58:14 +00:00

8 lines
314 B
Python

--- webapp/graphite/dashboard/views.py.orig 2014-09-14 03:00:52 UTC
+++ webapp/graphite/dashboard/views.py
@@ -249,4 +249,4 @@
def json_response(obj):
- return HttpResponse(mimetype='application/json', content=json.dumps(obj))
+ return HttpResponse(content_type='application/json', content=json.dumps(obj))