我有一个 Python 列表,我将其提供给模板:
{'error_name':'Please enter a name',
'error_email':'Please enter an email'}
并希望显示:
<ul>
<li>Please enter a name</li>
<li>Please enter an email</li>
</ul>