Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
24bc0f71
Commit
24bc0f71
authored
Mar 07, 2017
by
Robin Sonnabend
Browse files
Save description when creating new todo
parent
3f985921
Changes
1
Hide whitespace changes
Inline
Side-by-side
server.py
View file @
24bc0f71
...
...
@@ -665,7 +665,7 @@ def send_protocol(protocol):
def
new_top
(
protocol
):
form
=
TopForm
()
if
form
.
validate_on_submit
():
top
=
TOP
(
protocol_id
=
protocol
.
id
,
name
=
form
.
name
.
data
,
number
=
form
.
number
.
data
,
planned
=
True
)
top
=
TOP
(
protocol_id
=
protocol
.
id
,
name
=
form
.
name
.
data
,
number
=
form
.
number
.
data
,
planned
=
True
,
description
=
form
.
description
.
data
)
db
.
session
.
add
(
top
)
db
.
session
.
commit
()
tasks
.
push_tops_to_calendar
(
top
.
protocol
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment