Re: Model and Template Problem

2007-10-29 Thread niklas.voss
I solved it. I just used a ForeignKey... i had forgotten, there is already a possibility to do that. Thank you for your help --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Model and Template Problem

2007-10-28 Thread Malcolm Tredinnick
On Mon, 2007-10-29 at 11:53 +1100, Malcolm Tredinnick wrote: > On Sun, 2007-10-28 at 14:45 -0700, niklas.voss wrote: > > I have a Problem, i have one Model, which has some Data, and another > > Model, which has some Data. > > Let's call it Model1 and Model2! The Problem ist there is a Field in > >

Re: Model and Template Problem

2007-10-28 Thread Malcolm Tredinnick
On Sun, 2007-10-28 at 14:45 -0700, niklas.voss wrote: > I have a Problem, i have one Model, which has some Data, and another > Model, which has some Data. > Let's call it Model1 and Model2! The Problem ist there is a Field in > Model1 which has an ID of a Model2-Object and Model1 has a function >

Model and Template Problem

2007-10-28 Thread niklas.voss
I have a Problem, i have one Model, which has some Data, and another Model, which has some Data. Let's call it Model1 and Model2! The Problem ist there is a Field in Model1 which has an ID of a Model2-Object and Model1 has a function that return the Model2-Object with that ID, too. How can i call