Re: JsonField

2011-11-05 Thread Russell Keith-Magee
On Sat, Nov 5, 2011 at 7:48 PM, Ric wrote: > this is my proposition to have custom data inside a model field > > a json data field, the code is simple as this, and it works with > lastest django release See #12990 -- this is a ticket that has requested exactly this feature. You'll also see that

JsonField

2011-11-05 Thread Ric
this is my proposition to have custom data inside a model field a json data field, the code is simple as this, and it works with lastest django release from django.db import models from django.core.serializers.json import simplejson, DjangoJSONEncoder import StringIO class JsonField(models.Field