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 the information of the returning object from the
function in a template.

When I do it like this, it didnt work:

{{ model1object.givemodel2datafromid.data1 }}    # data1 is just an
example-field



Can you solve this problem?

Thank you and sorry for my bad english,
Niklas Voß

P.S. If you need more Information or you haven't understand what I
said, just say it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to