use username not user

This commit is contained in:
j 2015-05-18 23:01:19 +02:00
parent 1da7135e38
commit af86445b2e

View file

@ -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):