Add history events 'check out' and 'check in' logging

This commit is contained in:
Roberto Rosario
2012-06-17 00:39:54 -04:00
parent a6e1df9b3a
commit 0e47bbb10b
5 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ def checkin_document(request, document_pk):
if request.method == 'POST':
try:
document.check_in()
document.check_in(user=request.user)
except DocumentNotCheckedOut:
messages.error(request, _(u'Document has not been checked out.'))
except Exception, exc: