Re: how to overcome {% if %} limitation
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 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 -~--~~~~--~~--~--~---
Re: how to overcome {% if %} limitation
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 PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---
RE: how to overcome {% if %} limitation
> 2) create custom tag. Some people have already done this of course, for example: http://www.djangosnippets.org/snippets/130/ Michael > -Original Message- > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Tuesday, 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. > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---