Fixed #2056 -- Escaped history messages in admin. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
02fcfe6216
commit
f10af2de24
|
@ -24,8 +24,8 @@
|
||||||
{% for action in action_list %}
|
{% for action in action_list %}
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
|
<th scope="row">{{ action.action_time|date:_("DATE_WITH_TIME_FULL") }}</th>
|
||||||
<td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name }} {{ action.user.last_name }}){% endif %}</td>
|
<td>{{ action.user.username }}{% if action.user.first_name %} ({{ action.user.first_name|escape }} {{ action.user.last_name|escape }}){% endif %}</td>
|
||||||
<td>{{ action.change_message}}</td>
|
<td>{{ action.change_message|escape }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue