From 5043a756fb98eea717833cf9194e198768e736b1 Mon Sep 17 00:00:00 2001 From: "ajurna@gmail.com" Date: Wed, 4 May 2016 09:17:54 +0100 Subject: [PATCH] added support for ujson to see if that can improve loading performance --- comic/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/comic/views.py b/comic/views.py index 4b91202..0f8093b 100644 --- a/comic/views.py +++ b/comic/views.py @@ -1,4 +1,7 @@ -import json +try: + import ujson as json +except ImportError: + import json import uuid from os import path