Thursday, March 29, 2012

Re: comparing custom template tag within if tag

Hi All

I am still not able to solve this problem .Any more suggestions ?

Thanks


On Thu, Mar 29, 2012 at 10:03 PM, Tom Evans <tevans.uk@googlemail.com> wrote:
On Thu, Mar 29, 2012 at 5:22 PM, Josh Cartmell <joshcartme@gmail.com> wrote:
> I think something like this would work:
> {% with price_for_pax service pax '' as pfp %}

It won't. The {% with %} tag cannot arbitrarily call custom tags.

Cheers

Tom

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.




--
Regards
Nikhil Verma
+91-958-273-3156

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment