django for loop in a .html template page (newbie)

后端 未结 2 1184
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 23:55

The thing I really hate when learning a new language / framework is how ignorant I feel when I get stuck on a seemingly easy to solve issue.

I have a django for loop

2条回答
  •  情歌与酒
    2021-01-01 00:32

    You forgot to pass the variable.

    return render_to_response(get_template, {'ri_achievement': ri_achievement})
    

提交回复
热议问题