关于django序列化时一些缺陷的补足
Posted in 学习, 生活 on October 21st, 2008 No Comments »
import types
from django.db import models
from django.utils import simplejson as json
from django.core.serializers.json import DateTimeAwareJSONEncoder
from decimal import *
def json_encode(data):
“”"
The main issues with django’s default json serializer is that properties that
had been added to a object dynamically are being ignored (and it also has
problems with [...]