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
c6736939
Commit
c6736939
authored
Dec 08, 2018
by
段英荣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
da0b792f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
celebrity.py
trans2es/models/celebrity.py
+1
-1
user.py
trans2es/models/user.py
+1
-1
No files found.
trans2es/models/celebrity.py
View file @
c6736939
...
...
@@ -20,7 +20,7 @@ class Celebrity(models.Model):
name
=
models
.
CharField
(
verbose_name
=
u'名称'
,
max_length
=
300
,
default
=
''
)
portrait
=
models
.
CharField
(
verbose_name
=
u'肖像'
,
max_length
=
100
,
default
=
''
)
gender
=
models
.
SmallIntegerField
(
verbose_name
=
u'性别'
)
city_id
=
models
.
CharField
(
verbose_name
=
u'城市id'
)
city_id
=
models
.
CharField
(
verbose_name
=
u'城市id'
,
max_length
=
40
)
desc
=
models
.
IntegerField
(
verbose_name
=
''
)
is_online
=
models
.
BooleanField
(
verbose_name
=
"是否上线"
)
create_time
=
models
.
DateTimeField
(
verbose_name
=
u'创建时间'
,
default
=
datetime
.
datetime
.
fromtimestamp
(
0
))
...
...
trans2es/models/user.py
View file @
c6736939
...
...
@@ -27,7 +27,7 @@ class User(models.Model):
nick_name
=
models
.
CharField
(
verbose_name
=
u'昵称'
,
max_length
=
255
,
default
=
''
)
profile_pic
=
models
.
CharField
(
verbose_name
=
u'头像'
,
max_length
=
300
)
gender
=
models
.
SmallIntegerField
(
verbose_name
=
u'性别'
)
city_id
=
models
.
CharField
(
verbose_name
=
u'城市id'
)
city_id
=
models
.
CharField
(
verbose_name
=
u'城市id'
,
max_length
=
40
)
country_id
=
models
.
IntegerField
(
verbose_name
=
'国家id'
)
is_online
=
models
.
BooleanField
(
verbose_name
=
"是否上线"
)
create_time
=
models
.
DateTimeField
(
verbose_name
=
u'创建时间'
,
default
=
datetime
.
datetime
.
fromtimestamp
(
0
))
...
...
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