From af86445b2eb807222014c9cc8bc3471f2e7e74b7 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 18 May 2015 23:01:19 +0200 Subject: [PATCH] use username not user --- pandora/changelog/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/changelog/models.py b/pandora/changelog/models.py index 692e7312..9c8f6be0 100644 --- a/pandora/changelog/models.py +++ b/pandora/changelog/models.py @@ -38,7 +38,7 @@ def add_changelog(request, data, id=None): websocket.trigger_event('change', { 'action': c.action, 'id': c.changeid, - 'user': c.user, + 'user': c.user.username, }) class Log(models.Model):