Re: Limiting Choices of a ForeignKey with 'self'.

2009-05-14 Thread Margie
I am working on this. I think it is not simple. The queryset for the forms in the change_list view are created at a point in the code where there is no info on what the actual object associated with that form is. There is no simple way (ie, an arg or callback) to make a foreign key field in

Re: Limiting Choices of a ForeignKey with 'self'.

2009-05-14 Thread Jamie
Have you found a solution for this? I'm surprised no one has at least responded that it is or is not possible. On Apr 9, 1:09 pm, Nicky Bulthuis wrote: > Hello Django Users, > > I'm trying to learn Django as best as i can, however i've come to   > problem which i hope

Re: Limiting Choices of a ForeignKey with 'self'.

2009-04-28 Thread Jamie
I have the same problem and am hoping that a solution to one will work for both of us. In my case, I am working on an online newspaper site. My models for this particular app are Issue and Article. Articles are assigned to Issues so that they can all be published when the issue is published. That

Limiting Choices of a ForeignKey with 'self'.

2009-04-09 Thread Nicky Bulthuis
Hello Django Users, I'm trying to learn Django as best as i can, however i've come to problem which i hope someone can help me with. I have two models, Release and OTAP. A Release is a reference to a file and linked to an OTAP. An OTAP can have a Release for each of the 4 environments.