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
钟尚武
physical
Commits
2fd5e482
Commit
2fd5e482
authored
Nov 29, 2018
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
483eeded
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
23 additions
and
3 deletions
+23
-3
__init__.py
trans2es/models/__init__.py
+10
-0
group.py
trans2es/models/group.py
+2
-1
group_user_role.py
trans2es/models/group_user_role.py
+2
-0
pickuserrecord.py
trans2es/models/pickuserrecord.py
+2
-1
topic.py
trans2es/models/topic.py
+2
-0
user.py
trans2es/models/user.py
+3
-1
user_follow.py
trans2es/models/user_follow.py
+2
-0
No files found.
trans2es/models/__init__.py
View file @
2fd5e482
...
@@ -3,3 +3,13 @@ from .topic import Topic
...
@@ -3,3 +3,13 @@ from .topic import Topic
from
.user
import
User
from
.user
import
User
from
.pickuserrecord
import
PickUserRecord
from
.pickuserrecord
import
PickUserRecord
from
.group
import
Group
from
.group
import
Group
from
.pick_topic
import
PickTopic
from
.tag
import
TopicTag
from
.user
import
UserExtra
from
.group_user_role
import
GroupUserRole
from
.tag
import
AccountUserTag
from
.user
import
User
from
.group
import
Group
from
.topic
import
Topic
trans2es/models/group.py
View file @
2fd5e482
...
@@ -8,8 +8,9 @@ import logging
...
@@ -8,8 +8,9 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
"""
from .topic import Topic
from .topic import Topic
"""
class
Group
(
models
.
Model
):
class
Group
(
models
.
Model
):
class
Meta
:
class
Meta
:
verbose_name
=
u'小组'
verbose_name
=
u'小组'
...
...
trans2es/models/group_user_role.py
View file @
2fd5e482
...
@@ -8,7 +8,9 @@ import logging
...
@@ -8,7 +8,9 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
"""
from .group import Group
from .group import Group
"""
class
GroupUserRole
(
models
.
Model
):
class
GroupUserRole
(
models
.
Model
):
class
Meta
:
class
Meta
:
...
...
trans2es/models/pickuserrecord.py
View file @
2fd5e482
...
@@ -8,8 +8,9 @@ import logging
...
@@ -8,8 +8,9 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
"""
from .user import User
from .user import User
"""
class
PickUserRecord
(
models
.
Model
):
class
PickUserRecord
(
models
.
Model
):
class
Meta
:
class
Meta
:
verbose_name
=
u'用户之间pick'
verbose_name
=
u'用户之间pick'
...
...
trans2es/models/topic.py
View file @
2fd5e482
...
@@ -8,10 +8,12 @@ import logging
...
@@ -8,10 +8,12 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
"""
from .pick_topic import PickTopic
from .pick_topic import PickTopic
from .tag import TopicTag
from .tag import TopicTag
from .user import UserExtra
from .user import UserExtra
from .group import Group
from .group import Group
"""
class
ActionSumAboutTopic
(
models
.
Model
):
class
ActionSumAboutTopic
(
models
.
Model
):
class
Meta
:
class
Meta
:
...
...
trans2es/models/user.py
View file @
2fd5e482
...
@@ -8,9 +8,11 @@ import logging
...
@@ -8,9 +8,11 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
from
libs.tools
import
tzlc
"""
from .group_user_role import GroupUserRole
from .group_user_role import GroupUserRole
from .tag import AccountUserTag
from .tag import AccountUserTag
from
libs.tools
import
tzlc
"""
class
User
(
models
.
Model
):
class
User
(
models
.
Model
):
class
Meta
:
class
Meta
:
...
...
trans2es/models/user_follow.py
View file @
2fd5e482
...
@@ -8,7 +8,9 @@ import logging
...
@@ -8,7 +8,9 @@ import logging
from
libs.es
import
ESPerform
from
libs.es
import
ESPerform
from
django.db
import
models
from
django.db
import
models
import
datetime
import
datetime
"""
from .user import User
from .user import User
"""
class
UserFollow
(
models
.
Model
):
class
UserFollow
(
models
.
Model
):
class
Meta
:
class
Meta
:
...
...
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