Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
E
esi-table-data
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esi-data-scrapping
esi-table-data
Commits
411147f7
Commit
411147f7
authored
Aug 30, 2017
by
Vasyl Bodnaruk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add alias model
parent
89e8889b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
wp.py
esi/webapp/models/wp.py
+10
-0
No files found.
esi/webapp/models/wp.py
View file @
411147f7
...
...
@@ -398,6 +398,16 @@ class WpEsiTag(models.Model):
return
self
.
name
class
WpEsiTagAlias
(
models
.
Model
):
tag_id
=
models
.
IntegerField
(
primary_key
=
True
)
alias
=
models
.
CharField
(
max_length
=
255
)
class
Meta
:
managed
=
False
db_table
=
'wp_esi_tag_alias'
unique_together
=
((
'tag_id'
,
'alias'
),)
class
WpEsiTagEntity
(
models
.
Model
):
tag_id
=
models
.
IntegerField
(
primary_key
=
True
)
entity_id
=
models
.
IntegerField
()
...
...
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