|
|
@@ -301,7 +301,7 @@ def tasks(request): |
|
|
|
DBSession.merge(Task) |
|
|
|
else: |
|
|
|
DBSession.add(Task) |
|
|
|
return HTTPFound(location=request.route_url('list_task')) |
|
|
|
return HTTPFound(location=request.route_url('list_task')+"#"+slugify(Task.area.name)) |
|
|
|
return {'form':form } |
|
|
|
|
|
|
|
|
|
|
@@ -336,7 +336,7 @@ def action_task(request): |
|
|
|
Task.closed = False |
|
|
|
DBSession.merge(Task) |
|
|
|
request.session.flash('Task was successfully closed!') |
|
|
|
return HTTPFound(location=request.route_url('list_task')) |
|
|
|
return HTTPFound(location=request.route_url('list_task')+"#"+slugify(Task.area.name)) |
|
|
|
|
|
|
|
|
|
|
|
## =-=- Here, We handle HTTP requests - User Logged Part -=-= |
|
|
|