Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
knowledge_graph
Overview
Overview
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
Sun Long
knowledge_graph
Commits
1ae36710
Commit
1ae36710
authored
Jun 16, 2022
by
lyh3024
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
Develop See merge request lyh3024/knowledge_graph!20
parents
bc133f38
ade59eeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
apps.py
script/apps.py
+1
-0
models.py
script/models.py
+17
-0
No files found.
script/apps.py
View file @
1ae36710
...
...
@@ -4,3 +4,4 @@ from django.apps import AppConfig
class
ScriptConfig
(
AppConfig
):
default_auto_field
=
'django.db.models.BigAutoField'
name
=
'script'
script/models.py
View file @
1ae36710
from
django.db
import
models
# Create your models here.
class
Route
(
models
.
Model
):
id
=
models
.
CharField
()
index
=
models
.
CharField
()
ip
=
models
.
CharField
()
nextip
=
models
.
CharField
()
country
=
models
.
CharField
()
province
=
models
.
CharField
()
city
=
models
.
CharField
()
isp
=
models
.
CharField
()
root_ip
=
models
.
CharField
()
first_ip
=
models
.
CharField
()
type
=
models
.
IntegerField
()
time
=
models
.
TimeField
()
# 余下表结构待补充
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