2017-12-11 HomeProgramming Languagehow to use one for loop key with another for loop key in django template how to use one for loop key with another for loop key in django template By moting1a Programming Language 0 Comments 问题内容: i able to print values from below code in django views subMarks =  for item in marks: for column in gridHeaderTableData: subMark = item[column['sub_exam_name']] subMarks.append(subMark) how to write above code in django templates 问题评论: 2 Plz don’t ask for code. Share what have you tried and where are you struggling. 2 Why do you need to do this in the template? 原文地址： https://stackoverflow.com/questions/47755820/how-to-use-one-for-loop-key-with-another-for-loop-key-in-django-template Tags:django, python Related Posts Using asynchronous operations to read a stream in order – bad idea? How can I transform an image to the cursor, and transform it on hover aswell? PHP’foreach’如何实际工作？ About Author moting1a Add a Comment Cancel replyYou must be logged in to post a comment.