Switch ujson to orjson
This commit is contained in:
parent
45b8483366
commit
d8981378bd
|
@ -1,7 +1,7 @@
|
|||
import urllib
|
||||
import uuid
|
||||
|
||||
import ujson
|
||||
import orjson
|
||||
from django.conf import settings
|
||||
from django.http import HttpResponse, JsonResponse
|
||||
from django.shortcuts import render
|
||||
|
@ -95,7 +95,7 @@ def make_graph(results):
|
|||
"date": date,
|
||||
}
|
||||
)
|
||||
return ujson.dumps(graph)
|
||||
return orjson.dumps(graph)
|
||||
|
||||
|
||||
def drilldown_search(request, return_context=False, template=None):
|
||||
|
|
Loading…
Reference in New Issue