git://git.onelab.eu
/
unfold.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ac1086
)
Activity module - fixing request.user error
author
Radomir
<radomir.klacza@lip6.fr>
Fri, 28 Aug 2015 10:19:05 +0000
(12:19 +0200)
committer
Radomir
<radomir.klacza@lip6.fr>
Fri, 28 Aug 2015 10:19:05 +0000
(12:19 +0200)
activity/__init__.py
patch
|
blob
|
history
diff --git
a/activity/__init__.py
b/activity/__init__.py
index
9c56aaa
..
be5779d
100644
(file)
--- a/
activity/__init__.py
+++ b/
activity/__init__.py
@@
-56,7
+56,7
@@
def logWrite(request, action, message, objects = None):
"client_ip" : ip,
"host" : request.get_host(),
"referrer" : request.META.get('HTTP_REFERER'),
- "user" : request.user,
+ "user" : request.user
.username
,
"action" : action,
"message" : message,
"apikey" : apikey,