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
You forgot to pass the variable.
return render_to_response(get_template, {'ri_achievement': ri_achievement})