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
1e0342e1
Commit
1e0342e1
authored
Jan 22, 2019
by
lixiaofang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update face
parent
cb572e8e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
6 deletions
+14
-6
Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+10
-1
workspace.xml
.idea/workspace.xml
+0
-0
contrast_similar.py
trans2es/models/contrast_similar.py
+3
-4
type_info.py
trans2es/type_info.py
+1
-1
No files found.
.idea/inspectionProfiles/Project_Default.xml
View file @
1e0342e1
...
...
@@ -4,8 +4,17 @@
<inspection_tool
class=
"PyPackageRequirementsInspection"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"ignoredPackages"
>
<value>
<list
size=
"1"
>
<list
size=
"1
0
"
>
<item
index=
"0"
class=
"java.lang.String"
itemvalue=
"gm-config==0.1.3"
/>
<item
index=
"1"
class=
"java.lang.String"
itemvalue=
"gm-logging"
/>
<item
index=
"2"
class=
"java.lang.String"
itemvalue=
"gm-tracer"
/>
<item
index=
"3"
class=
"java.lang.String"
itemvalue=
"gm-protocol"
/>
<item
index=
"4"
class=
"java.lang.String"
itemvalue=
"gm-rpcd"
/>
<item
index=
"5"
class=
"java.lang.String"
itemvalue=
"helios"
/>
<item
index=
"6"
class=
"java.lang.String"
itemvalue=
"gm-types"
/>
<item
index=
"7"
class=
"java.lang.String"
itemvalue=
"gevent"
/>
<item
index=
"8"
class=
"java.lang.String"
itemvalue=
"alpha-types"
/>
<item
index=
"9"
class=
"java.lang.String"
itemvalue=
"gm-upload"
/>
</list>
</value>
</option>
...
...
.idea/workspace.xml
View file @
1e0342e1
This diff is collapsed.
Click to expand it.
trans2es/models/contrast_similar.py
View file @
1e0342e1
...
...
@@ -10,17 +10,16 @@ import datetime
from
.topic
import
Topic
#
manager = lambda: models.Manager().db_manager(using='face')
manager
=
lambda
:
models
.
Manager
()
.
db_manager
(
using
=
'face'
)
class
ContrastSimilar
(
models
.
Model
):
class
Meta
:
# alisa = 'face'
app_label
:
'face'
app_label
=
'face'
verbose_name
=
u"用户脸相似度表"
db_table
=
"face_user_contrast_similar"
#
objects = manager()
objects
=
manager
()
id
=
models
.
IntegerField
(
verbose_name
=
"主键ID"
,
primary_key
=
True
)
is_online
=
models
.
BooleanField
(
verbose_name
=
"是否上线"
)
is_deleted
=
models
.
BooleanField
(
verbose_name
=
"是否删除"
)
...
...
trans2es/type_info.py
View file @
1e0342e1
...
...
@@ -68,7 +68,7 @@ class TypeInfo(object):
@property
def
queryset
(
self
):
return
django
.
db
.
models
.
QuerySet
(
model
=
self
.
model
,
query
=
self
.
query
)
return
django
.
db
.
models
.
QuerySet
(
model
=
self
.
model
,
query
=
self
.
query
)
.
using
(
"face"
)
@property
def
pk_blacklist
(
self
):
...
...
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