Re: How do I make Django evaluate a ForeignKey for json serialization?

2008-12-27 Thread mattimust...@gmail.com
On Dec 28, 10:01 am, "Russell Keith-Magee" wrote: > On Sun, Dec 28, 2008 at 5:32 AM, adambossy wrote: > > > Russ, > > > Thanks for the reply. Specifically, I am wondering if there is some > > feature of the Models API that allows me to retrieve the foreign key > > object so that it is included

Re: FormWizard accessing previous fields data

2009-01-31 Thread mattimust...@gmail.com
On Feb 1, 3:27 am, "lbologn...@gmail.com" wrote: > On Jan 29, 11:31 pm, "lbologn...@gmail.com" > wrote: > > > Hi all, > > > say i have aFormWizardof 5 steps and at the last step i want to > > display a summary of the submitted data how do i access the value of a > > field that was in the form

Re: Thoughts on nested Model references and JSON serialization

2009-02-13 Thread mattimust...@gmail.com
On Feb 13, 10:31 pm, "django_fo...@codechimp.net" wrote: > By multiple calls I meant calls from the browser to the server. > Right, in my case, now I may one call to get a list of news articles. > One potential solution here would be to make the call to get the list > of articles, then make ano

Re: Thoughts on nested Model references and JSON serialization

2009-02-13 Thread mattimust...@gmail.com
Hi, I've finally pulled my finger out and written up some documentation on how to use my serializers. You can find it at: http://code.google.com/p/wadofstuff/wiki/DjangoFullSerializers On Feb 14, 11:23 am, "mattimust...@gmail.com" wrote: > On Feb 13, 10:31 pm, "dja

Re: Depth of serialization

2009-03-01 Thread mattimust...@gmail.com
Hi Filip, Try my serializer at http://code.google.com/p/wadofstuff/wiki/DjangoFullSerializers. It does what you need. regards matthew On Mar 2, 8:51 am, Filip Gruszczyński wrote: > First of all: it's my first post here, so hello everyone! > > Then: I am trying to serialize some objects to JS

Re: Making InlineModelAdmin objects required.

2010-01-20 Thread mattimust...@gmail.com
Hi, Take a look at http://code.google.com/p/wadofstuff/wiki/WadOfStuffDjangoForms as the RequireOneFormSet class may give you some hints on how to do this. regards Matthew On Jan 21, 3:57 pm, iliveinapark wrote: > Hi all, > > I'm wondering if there's a way to make InlineModelAdmin objects > re