Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
physical
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
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
alpha
physical
Commits
fa66a0c6
Commit
fa66a0c6
authored
Mar 20, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
a89420b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
30 deletions
+32
-30
workspace.xml
.idea/workspace.xml
+30
-30
user.py
trans2es/models/user.py
+2
-0
No files found.
.idea/workspace.xml
View file @
fa66a0c6
...
...
@@ -75,13 +75,13 @@
<usages-collector
id=
"statistics.file.extensions.edit"
>
<counts>
<entry
key=
"json"
value=
"56"
/>
<entry
key=
"py"
value=
"5
15
"
/>
<entry
key=
"py"
value=
"5
56
"
/>
</counts>
</usages-collector>
<usages-collector
id=
"statistics.file.types.edit"
>
<counts>
<entry
key=
"JSON"
value=
"56"
/>
<entry
key=
"Python"
value=
"5
15
"
/>
<entry
key=
"Python"
value=
"5
56
"
/>
</counts>
</usages-collector>
</session>
...
...
@@ -100,11 +100,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/user.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
570
"
>
<caret
line=
"1
38"
column=
"19"
selection-start-line=
"138"
selection-start-column=
"19"
selection-end-line=
"138"
selection-end-column=
"19
"
/>
<state
relative-caret-position=
"
243
"
>
<caret
line=
"1
50"
column=
"85"
selection-start-line=
"150"
selection-start-column=
"85"
selection-end-line=
"150"
selection-end-column=
"85
"
/>
<folding>
<element
signature=
"e#47#79#0"
expanded=
"true"
/>
<element
signature=
"e#1396#1736#0"
/>
...
...
@@ -148,11 +148,11 @@
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/group.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
483
"
>
<caret
line=
"
50"
column=
"21"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"21"
selection-end-line=
"50"
selection-end-column=
"21
"
/>
<state
relative-caret-position=
"
210
"
>
<caret
line=
"
14"
column=
"26"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"26"
selection-end-line=
"14"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"e#47#79#0"
expanded=
"true"
/>
</folding>
...
...
@@ -200,9 +200,9 @@
<option
value=
"$PROJECT_DIR$/trans2es/utils/group_transfer.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/models/topic.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/models/pictorial.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/models/user.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/mapping/user.json"
/>
<option
value=
"$PROJECT_DIR$/trans2es/utils/user_transfer.py"
/>
<option
value=
"$PROJECT_DIR$/trans2es/models/user.py"
/>
</list>
</option>
</component>
...
...
@@ -353,12 +353,12 @@
<breakpoints>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/trans2es/models/user.py
</url>
<line>
14
5
</line>
<line>
14
6
</line>
<option
name=
"timeStamp"
value=
"1"
/>
</line-breakpoint>
<line-breakpoint
enabled=
"true"
suspend=
"THREAD"
type=
"python-line"
>
<url>
file://$PROJECT_DIR$/trans2es/models/user.py
</url>
<line>
13
6
</line>
<line>
13
7
</line>
<option
name=
"timeStamp"
value=
"2"
/>
</line-breakpoint>
</breakpoints>
...
...
@@ -540,22 +540,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/user.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"570"
>
<caret
line=
"138"
column=
"19"
selection-start-line=
"138"
selection-start-column=
"19"
selection-end-line=
"138"
selection-end-column=
"19"
/>
<folding>
<element
signature=
"e#47#79#0"
expanded=
"true"
/>
<element
signature=
"e#1396#1736#0"
/>
<element
signature=
"e#1787#2318#0"
/>
<element
signature=
"e#2367#3238#0"
/>
<element
signature=
"e#3291#3907#0"
/>
<element
signature=
"e#3954#5060#0"
/>
<element
signature=
"e#6364#6780#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/topic.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1328"
>
...
...
@@ -573,6 +557,16 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/group.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"210"
>
<caret
line=
"14"
column=
"26"
lean-forward=
"true"
selection-start-line=
"14"
selection-start-column=
"26"
selection-end-line=
"14"
selection-end-column=
"26"
/>
<folding>
<element
signature=
"e#47#79#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/utils/user_transfer.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"644"
>
...
...
@@ -580,12 +574,18 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/
group
.py"
>
<entry
file=
"file://$PROJECT_DIR$/trans2es/models/
user
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
48
3"
>
<caret
line=
"
50"
column=
"21"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"21"
selection-end-line=
"50"
selection-end-column=
"21
"
/>
<state
relative-caret-position=
"
24
3"
>
<caret
line=
"
150"
column=
"85"
selection-start-line=
"150"
selection-start-column=
"85"
selection-end-line=
"150"
selection-end-column=
"85
"
/>
<folding>
<element
signature=
"e#47#79#0"
expanded=
"true"
/>
<element
signature=
"e#1396#1736#0"
/>
<element
signature=
"e#1787#2318#0"
/>
<element
signature=
"e#2367#3238#0"
/>
<element
signature=
"e#3291#3907#0"
/>
<element
signature=
"e#3954#5060#0"
/>
<element
signature=
"e#6364#6780#0"
/>
</folding>
</state>
</provider>
...
...
trans2es/models/user.py
View file @
fa66a0c6
...
...
@@ -103,6 +103,8 @@ class User(models.Model):
}
attention_pictorial_id_list
.
append
(
item_dict
)
logging
.
info
(
"get same_pictorial_user_id_list:
%
s"
%
attention_pictorial_id_list
)
return
attention_pictorial_id_list
except
:
logging
.
error
(
"catch exception,err_msg:
%
s"
%
traceback
.
format_exc
())
...
...
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