Re: json serializing without certain fields

2007-06-01 Thread emailgregn
this had me stumped. thanks for the fix G On Jun 1, 3:44 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/1/07, web-junkie <[EMAIL PROTECTED]> wrote: > > > > > Hi > > how can I get JSON out of my Django object without having certain > > fields in there for obvious reasons? > > I found

Re: json serializing without certain fields

2007-06-01 Thread web-junkie
Sorry for being a littly bit offensive. Thanks for your replies and for commiting the patches, works like a charm now. On Jun 1, 3:44 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/1/07, web-junkie <[EMAIL PROTECTED]> wrote: > > > > > Hi > > how can I get JSON out of my Django object

Re: json serializing without certain fields

2007-06-01 Thread Russell Keith-Magee
On 6/1/07, web-junkie <[EMAIL PROTECTED]> wrote: > > Hi > how can I get JSON out of my Django object without having certain > fields in there for obvious reasons? > I found solutions like serializers.serialize("json", > Something.objects.all(), fields='myfield' ) > which do not work, there's also

Re: json serializing without certain fields

2007-06-01 Thread Gábor Farkas
web-junkie wrote: > Hi > how can I get JSON out of my Django object without having certain > fields in there for obvious reasons? > I found solutions like serializers.serialize("json", > Something.objects.all(), fields='myfield' ) > which do not work, there's also a ticket on that > http://code.d

Re: json serializing without certain fields

2007-06-01 Thread Malcolm Tredinnick
On Fri, 2007-06-01 at 05:19 -0700, web-junkie wrote: > Hi > how can I get JSON out of my Django object without having certain > fields in there for obvious reasons? > I found solutions like serializers.serialize("json", > Something.objects.all(), fields='myfield' ) > which do not work, there's als

json serializing without certain fields

2007-06-01 Thread web-junkie
Hi how can I get JSON out of my Django object without having certain fields in there for obvious reasons? I found solutions like serializers.serialize("json", Something.objects.all(), fields='myfield' ) which do not work, there's also a ticket on that http://code.djangoproject.com/ticket/3466 Why