

@register.inclusion_tag((settings.ADMIN2_THEME_DIRECTORY + '/includes/history.html'), takes_context=True)
def action_history(context):
    actions = models.LogEntry.objects.filter(user__pk=context['user'].pk)
    return {
        'actions': actions,
    }

dataset/ETHPy150Open pydanny/django-admin2/djadmin2/templatetags/admin2_tags.py action_history/original