james_027 escribió:
> Thanks everyone!
>
>
> >
>
There's actually a reason for templates and views being two separate
entities.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
Thanks everyone!
--~--~-~--~~~---~--~~
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 PROTECTE
, July 31, 2007 9:49 AM
> To: Django users
> Subject: Re: how to overcome {% if %} limitation
>
>
> 1) (better!) do this in a view. pass a flag 'more_then_10' to
> template.
> 2) create custom tag.
>
>
>
--~--~-~--~~~---~--~---
1) (better!) do this in a view. pass a flag 'more_then_10' to
template.
2) create custom tag.
--~--~-~--~~~---~--~~
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@g
Hi,
I am very new to django, now I am dealing with templates. Coming from
JSP, I am suprise that in django we can't do something like {% if
Events.objects.filter(...).count > 10 %}
Is there a way to do something like that?
Thanks
james
--~--~-~--~~~---~--~~
You
5 matches
Mail list logo