mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Using simplejson for jsonify the data of type Decimal, which will used
for numeric type of PostgreSQL, in python using psycopg2.
This commit is contained in:
parent
1ba9067c60
commit
d2897a334f
@ -26,3 +26,4 @@ six==1.9.0
|
|||||||
speaklater==1.3
|
speaklater==1.3
|
||||||
pycrypto==2.6.1
|
pycrypto==2.6.1
|
||||||
wsgiref==0.1.2
|
wsgiref==0.1.2
|
||||||
|
simplejson==3.6.5
|
||||||
|
@ -24,4 +24,5 @@ psycopg2==2.5.2
|
|||||||
pytz==2014.10
|
pytz==2014.10
|
||||||
six==1.9.0
|
six==1.9.0
|
||||||
speaklater==1.3
|
speaklater==1.3
|
||||||
pycrypto==2.6.1
|
pycrypto==2.6.1
|
||||||
|
simplejson==3.6.5
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
from flask import Response
|
from flask import Response
|
||||||
from flask.ext.babel import gettext as _
|
from flask.ext.babel import gettext as _
|
||||||
import json
|
import simplejson as json
|
||||||
|
|
||||||
|
|
||||||
def make_json_response(success=1, errormsg='', info='', result=None,
|
def make_json_response(success=1, errormsg='', info='', result=None,
|
||||||
|
Loading…
Reference in New Issue
Block a user