mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
use ujson package to encode and decode data
This commit is contained in:
parent
62ae241894
commit
fb0f1fd386
|
@ -7,3 +7,4 @@ django-filter>=2.2.0, <2.3
|
|||
coreapi==2.3.1
|
||||
coreschema==0.0.4
|
||||
pyyaml>=5.1
|
||||
ujson==1.35
|
|
@ -3,7 +3,7 @@ Helper classes for parsers.
|
|||
"""
|
||||
import datetime
|
||||
import decimal
|
||||
import json # noqa
|
||||
import ujson as json # noqa
|
||||
import uuid
|
||||
|
||||
from django.db.models.query import QuerySet
|
||||
|
|
|
@ -6,7 +6,7 @@ spec-compliant encoding/decoding. Support for non-standard features should be
|
|||
handled by users at the renderer and parser layer.
|
||||
"""
|
||||
import functools
|
||||
import json # noqa
|
||||
import ujson as json # noqa
|
||||
|
||||
|
||||
def strict_constant(o):
|
||||
|
|
Loading…
Reference in New Issue
Block a user