Hi,

Is it possible to have a variable within a variable...

For example

*{{ flights.Legs.0|length}} *

is equal to 1 or 2 or basically a integer. Then i would like to connect 
this to something like:

{{flights.Legs.0.InboundR.*X*.ATime}} where in stead of the X, I would like 
to have the value of {{ flights.Legs.0|length}}.

I tried something like this,

*{{flights.Legs.0.InboundR.(flights.Legs.0|length).ATime}}*

 and it did not work.

Any help will be extremple appreciated. 

Regards,

Alberto

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3b4b0be4-228c-49d0-a034-95c138822c90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to