use username not user
This commit is contained in:
parent
1da7135e38
commit
af86445b2e
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue