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
ccec31a6
Commit
ccec31a6
authored
Jan 21, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update settings
parent
0354cc04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
7 deletions
+8
-7
settings.py
physical/settings.py
+2
-2
face_user_contrast_similar.py
trans2es/models/face_user_contrast_similar.py
+6
-5
No files found.
physical/settings.py
View file @
ccec31a6
...
...
@@ -131,7 +131,7 @@ DATABASES = {
'NAME'
:
'alpha'
,
'USER'
:
'work'
,
'PASSWORD'
:
'Gengmei123'
,
'HOST'
:
'rm-2ze
5k2we69904787l
.mysql.rds.aliyuncs.com'
,
'HOST'
:
'rm-2ze
aut61u9sm21m0b
.mysql.rds.aliyuncs.com'
,
'PORT'
:
'3306'
,
'OPTIONS'
:
{
"init_command"
:
"SET foreign_key_checks = 0;"
,
...
...
@@ -143,7 +143,7 @@ DATABASES = {
'NAME'
:
'face'
,
'USER'
:
'work'
,
'PASSWORD'
:
'Gengmei123'
,
'HOST'
:
'rm-2ze
5k2we69904787l
.mysql.rds.aliyuncs.com'
,
'HOST'
:
'rm-2ze
aut61u9sm21m0b
.mysql.rds.aliyuncs.com'
,
'PORT'
:
'3306'
,
#'CONN_MAX_AGE': None,
'OPTIONS'
:
{
...
...
trans2es/models/face_user_contrast_similar.py
View file @
ccec31a6
...
...
@@ -10,17 +10,18 @@ import datetime
manager
=
lambda
:
models
.
Manager
()
.
db_manager
(
using
=
'face'
)
class
FaceUserContrastSimilar
(
models
.
Model
):
class
Meta
:
verbose_name
=
u"用户脸相似表"
db_table
=
"face_user_contrast_similar"
verbose_name
=
u"用户脸相似表"
db_table
=
"face_user_contrast_similar"
objects
=
manager
()
id
=
models
.
IntegerField
(
verbose_name
=
"主键ID"
,
primary_key
=
True
)
id
=
models
.
IntegerField
(
verbose_name
=
"主键ID"
,
primary_key
=
True
)
is_online
=
models
.
BooleanField
(
verbose_name
=
"是否上线"
)
is_deleted
=
models
.
BooleanField
(
verbose_name
=
"是否删除"
)
participant_user_id
=
models
.
IntegerField
(
verbose_name
=
u'参与者用户ID'
)
similarity
=
models
.
FloatField
(
verbose_name
=
u'相似度'
,
default
=
0
)
create_time
=
models
.
DateTimeField
(
verbose_name
=
u'创建时间'
,
default
=
datetime
.
datetime
.
fromtimestamp
(
0
))
similarity
=
models
.
FloatField
(
verbose_name
=
u'相似度'
,
default
=
0
)
create_time
=
models
.
DateTimeField
(
verbose_name
=
u'创建时间'
,
default
=
datetime
.
datetime
.
fromtimestamp
(
0
))
update_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