Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
cdbc1255
Commit
cdbc1255
authored
Nov 19, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cr prefix, draft post
parent
d65e8761
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
app/applicationlayer/cms/form/header/views.py
app/applicationlayer/cms/form/header/views.py
+17
-3
No files found.
app/applicationlayer/cms/form/header/views.py
View file @
cdbc1255
...
...
@@ -1239,7 +1239,21 @@ class ChangeRequestFormPost(APIView):
template_no
=
template_no
)
.
values
(
'requested_to_template_id'
)
print
(
CR_Prefix
)
CR_Prefix
=
CR_Prefix
.
values_list
(
'requested_to_template_id'
,
flat
=
True
)[
0
]
models
.
ChangeRequestFormHeader
.
objects
.
filter
(
form_code
=
frm_id
)
.
update
(
requested_to_template_id
=
CR_Prefix
)
models
.
ChangeRequestFormApprovers
.
objects
.
filter
(
form_code
=
frm_id
)
.
update
(
is_action
=
False
,
action
=
None
,
remarks
=
None
,
action_date
=
None
,
date_sent
=
None
)
message
=
{
'code'
:
201
,
...
...
Write
Preview
Markdown
is supported
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