Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
rank
mentha
Commits
525240ec
Commit
525240ec
authored
4 years ago
by
李小芳
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '14288tag' into 'master'
smr See merge request
!26
parents
dd1d42a8
86fb4b76
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
transfer.py
data_sync/answer/transfer.py
+3
-0
transfer.py
data_sync/tractate/transfer.py
+2
-0
No files found.
data_sync/answer/transfer.py
View file @
525240ec
...
@@ -208,6 +208,9 @@ def get_answers(pks):
...
@@ -208,6 +208,9 @@ def get_answers(pks):
item
[
'selected_internet_celebrity'
]
.
append
(
tag
.
get
(
"name"
,
None
))
item
[
'selected_internet_celebrity'
]
.
append
(
tag
.
get
(
"name"
,
None
))
else
:
else
:
pass
pass
if
tag
.
get
(
"id"
)
==
14288
:
item
[
'operators_add_tags'
]
.
append
(
14288
)
if
15928
in
all_tags
:
if
15928
in
all_tags
:
item
[
'selected_content_type'
]
=
SELECTED_CONTENT_TYPE
.
BEAUTY_STAR
item
[
'selected_content_type'
]
=
SELECTED_CONTENT_TYPE
.
BEAUTY_STAR
elif
10682
in
all_tags
:
elif
10682
in
all_tags
:
...
...
This diff is collapsed.
Click to expand it.
data_sync/tractate/transfer.py
View file @
525240ec
...
@@ -248,6 +248,8 @@ def get_tractate(pks):
...
@@ -248,6 +248,8 @@ def get_tractate(pks):
else
:
else
:
pass
pass
if
tag
.
get
(
"id"
)
==
14288
:
item
[
'operators_add_tags'
]
.
append
(
14288
)
if
15928
in
all_tags
:
if
15928
in
all_tags
:
item
[
'selected_content_type'
]
=
SELECTED_CONTENT_TYPE
.
BEAUTY_STAR
item
[
'selected_content_type'
]
=
SELECTED_CONTENT_TYPE
.
BEAUTY_STAR
elif
10682
in
all_tags
:
elif
10682
in
all_tags
:
...
...
This diff is collapsed.
Click to expand it.
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