|
@@ -336,7 +336,6 @@ def tasks_area(request): |
|
|
def action_task(request): |
|
|
def action_task(request): |
|
|
action = request.matchdict.get('action') |
|
|
action = request.matchdict.get('action') |
|
|
task_id = request.matchdict.get('task_id') |
|
|
task_id = request.matchdict.get('task_id') |
|
|
raise 'test' |
|
|
|
|
|
Task = Tasks.by_id(int(task_id)) |
|
|
Task = Tasks.by_id(int(task_id)) |
|
|
if action=='close': |
|
|
if action=='close': |
|
|
Task.closed = True |
|
|
Task.closed = True |
|
|