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
83a6d280
Commit
83a6d280
authored
Sep 26, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undo
parent
266a8408
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
101 deletions
+61
-101
app/applicationlayer/cms/form/views.py
app/applicationlayer/cms/form/views.py
+55
-99
app/applicationlayer/cms/template/views.py
app/applicationlayer/cms/template/views.py
+2
-2
app/applicationlayer/cms/utils_cr.py
app/applicationlayer/cms/utils_cr.py
+4
-0
No files found.
app/applicationlayer/cms/form/views.py
View file @
83a6d280
This diff is collapsed.
Click to expand it.
app/applicationlayer/cms/template/views.py
View file @
83a6d280
...
...
@@ -375,7 +375,7 @@ class ChangeRequestTemplatePost(APIView):
serializerAttach
=
serializers
.
ChangeRequestTemplateAttachmentsSerializer
(
data
=
data_list_attach
,
many
=
True
)
if
serializerAttach
.
is_valid
(
raise_exception
=
True
):
serializerAttach
.
save
()
...
...
@@ -468,7 +468,7 @@ class ChangeRequestTemplateAttachmentsViewset(meviewsets.ModelViewSet):
self
.
queryset
=
QuerySetHelper
.
Sort
(
self
)
page
=
self
.
paginate_queryset
(
self
.
queryset
)
if
page
is
not
None
:
serializer
=
self
.
get_serializer
(
page
,
many
=
True
)
...
...
app/applicationlayer/cms/utils_cr.py
View file @
83a6d280
...
...
@@ -471,3 +471,7 @@ def crhistory_log_bulk_delete(queryset, entity, tbl, form_code,
return
True
except
IntegrityError
as
exc
:
raise
APIException
(
detail
=
exc
)
def
generate_template_id
(
prefix
):
print
(
"hello"
)
\ No newline at end of file
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