Re: Question about manipulators with foreign keys

2006-06-05 Thread Tim Keating
Not at all -- it sounds like the answer is one of the ones I expected, which was "Write a custom manipulator" Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group

Re: Question about manipulators with foreign keys

2006-06-04 Thread Jorge Gajon
Oh I see, I always get a little confused with forward/backward/whatever :) I don't know for sure if this would answer your question, I did something like this in a project (assuming we have a blog object with a set of entries): class MyChangeManipulator(forms.Manipulator): def __init__(self, b

Re: Question about manipulators with foreign keys

2006-06-04 Thread Tim Keating
The ability of model A to return appropriate records in model B, where B has a foreign key pointing to A (ergo a one to many relationship where A is the one and B is the many). As described here: http://www.djangoproject.com/documentation/db_api/#backward --~--~-~--~~~---

Re: Question about manipulators with foreign keys

2006-06-04 Thread Jorge Gajon
What do you mean by backwards foreign key? On 6/4/06, Tim Keating <[EMAIL PROTECTED]> wrote: > > Is there an existing way to create, say, a ChangeManipulator that > includes a backwards foreign key relationship? > > TK --~--~-~--~~~---~--~~ You received this messa

Question about manipulators with foreign keys

2006-06-04 Thread Tim Keating
Is there an existing way to create, say, a ChangeManipulator that includes a backwards foreign key relationship? TK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group,