<s> from django import template <EOL> from django . template . loader import render_to_string <EOL> register = template . Library ( ) <EOL> def bottom_bar ( event , specify_type ) : <EOL> return render_to_string ( "<STR_LIT>" , { <EOL> '<STR_LIT>' : event , <EOL> '<STR_LIT>' : specify_type <EOL> } ) <EOL> register . simple_tag ( bottom_bar ) </s>
