python3 fixes for djsngo admin pages

This commit is contained in:
Philip Sargent
2020-05-31 22:35:36 +01:00
parent c863bf6e1d
commit f949bb8dc0
3 changed files with 5 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
{% block related %}
<h2>Recent Actions</h2>
{% load log %}
{% get_admin_log 10 as admin_log %}
{% get_admin_log 10 as admin_log for_user 1 %}
{% if not admin_log %}
<p>No recent actions</p>
{% else %}