great thing about django: it´s always easier than i thought it´d be. thanks.
> > patrick k wrote: > >> question is: how do i get a milestone_list for every project and what is the >> best way to do this? >> >> > {% for project in project_list %} > {% for milestone in project.get_milestone_list %} > {{ milestone }} > {% endfor %} > {% endfor %} > > In other words you can call object's methods from template (without > parentheses). > >> i just want to output the title of the project for every milestone. >> >> something like >> {{ milestone.get_project(fields=['title']) }} >> >> > {{ milestone.get_project.title }} > > Also refer here > http://www.djangoproject.com/documentation/templates/#variables for > explanation of what a template do when you use dot notation.