I am currently working on django.
I have a list of values which stored in 'graphobject', and 'metarange' is defined as range(0,59). In that case, how could I use numbers as argument to display the value stored in graphobject? I tried using following codes but it doesn't work {% for i in metarange %}{% if graphobject.i != '' %}{{ graphobject.i }}{% endif %}{% endfor %} Please tell me how could I do this? -- 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/931f17b7-4cca-4b11-9aae-7e3092732dd3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.