Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue_django_test
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
周田
vue_django_test
Commits
4681552d
Commit
4681552d
authored
Aug 23, 2023
by
周田
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mod
parent
170eb867
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
+1
-4
views.py
vue_django/views.py
+1
-4
No files found.
vue_django/views.py
View file @
4681552d
...
@@ -46,10 +46,7 @@ def download(request):
...
@@ -46,10 +46,7 @@ def download(request):
file_path
=
os
.
path
.
join
(
settings
.
BASE_DIR
,
'protocol_raw_files'
,
protocol_name
,
version
)
file_path
=
os
.
path
.
join
(
settings
.
BASE_DIR
,
'protocol_raw_files'
,
protocol_name
,
version
)
for
root
,
_
,
files
in
os
.
walk
(
file_path
):
for
root
,
_
,
files
in
os
.
walk
(
file_path
):
for
file
in
files
:
file_path
=
os
.
path
.
join
(
root
,
files
[
1
])
# if file != 'xdc.sqlite':
# continue
file_path
=
os
.
path
.
join
(
root
,
files
[
3
])
# 适配中文
# 适配中文
file_name
=
urllib
.
parse
.
quote
(
os
.
path
.
basename
(
file_path
))
file_name
=
urllib
.
parse
.
quote
(
os
.
path
.
basename
(
file_path
))
...
...
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