Thanks Everyone for your input.
Regards,
Armin
That one is just what I was looking for, thanks a bunch!
On 12/24/05, thelaughingman <[EMAIL PROTECTED]> wrote:
>
> >From looking around on the Django site, it appears that there is a
> built in comment system, but as far as I can tell it is undocumented,
> does anyone have any pointers on how to get started using it? I am
> building my own blog system
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_
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
i have a list of projects with related milestones.
now i want to output the projects, and for every project the milestones
according to that project. so, basically, i need a list of milestones for a
list of projects.
extract from my milestone-model:
class Milestone(meta.Model):
project = meta
Hi!
After reading tutorial about Django, try to write simple app. App
contain only one model:
class PressureRecord(meta.Model):
record_date = meta.DateField()
record_time = meta.TimeField()
sys_press = meta.IntegerField()
dia_press = meta.IntegerField()
pulse = meta.IntegerFie
7 matches
Mail list logo