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
d9385e08
Commit
d9385e08
authored
Dec 17, 2019
by
Gladys Forte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print
parent
f1b89774
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/applicationlayer/management/batchupload/views.py
app/applicationlayer/management/batchupload/views.py
+2
-1
media/uploads/instruction.pdf
media/uploads/instruction.pdf
+2
-2
No files found.
app/applicationlayer/management/batchupload/views.py
View file @
d9385e08
...
...
@@ -154,8 +154,9 @@ class BatchUploadViewSet(viewsets.ModelViewSet):
def
UserInstruction
(
self
,
request
,
code
=
None
):
attach_instruc
=
MasterAttachment
.
objects
.
filter
(
attch_ref
=
'etl_instruction'
)
if
attach_instruc
:
print
(
"deleted instruction"
)
attach_instruc
.
first
()
.
delete
()
outfilename
=
"instruction.pdf"
outfiledir
=
'media/uploads/'
outfilepath
=
os
.
path
.
join
(
outfiledir
,
outfilename
)
...
...
media/uploads/instruction.pdf
View file @
d9385e08
No preview for this file type
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