|
@@ -430,7 +430,7 @@ def tasks(request): |
|
|
DBSession.add(Task) |
|
|
DBSession.add(Task) |
|
|
DBSession.flush() |
|
|
DBSession.flush() |
|
|
return HTTPFound(location=request.route_url('list_task')+"#"+slugify(Task.area.name)) |
|
|
return HTTPFound(location=request.route_url('list_task')+"#"+slugify(Task.area.name)) |
|
|
return {'form':form, 'area':slugify(Areas[Task.area_uid-1].name)} |
|
|
|
|
|
|
|
|
return {'form':form, 'area':slugify(Task.area.name)} |
|
|
|
|
|
|
|
|
@view_config(route_name='handle_pole', renderer='jm2l:templates/Staff/pole.mako') |
|
|
@view_config(route_name='handle_pole', renderer='jm2l:templates/Staff/pole.mako') |
|
|
def tasks_area(request): |
|
|
def tasks_area(request): |
|
|