From eea59cd12b6f17c5f0f96805205bc4967143f658 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 31 Dec 2012 11:36:29 -0600 Subject: Set user on todolist packages when flag status changes This will allow us to see who last changed the status of a todolist item. Signed-off-by: Dan McGee --- todolists/views.py | 1 + 1 file changed, 1 insertion(+) (limited to 'todolists') diff --git a/todolists/views.py b/todolists/views.py index 32ee7cc..f4f9ab2 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -46,6 +46,7 @@ def flag(request, slug, pkg_id): tlpkg.status = TodolistPackage.COMPLETE else: tlpkg.status = TodolistPackage.INCOMPLETE + tlpkg.user = request.user tlpkg.save() if request.is_ajax(): data = { -- cgit v1.2.3-24-g4f1b