- return render_to_response('infopages/infopage.html', {
- 'page': page,
- 'left_column': left_column,
- 'right_columns': right_column,
- }, context_instance=RequestContext(request))
+ return render(
+ request,
+ 'infopages/infopage.html',
+ {
+ 'page': page,
+ 'left_column': left_column,
+ 'right_column': right_column,
+ 'active_menu_item': f'info:{slug}',
+ }
+ )