Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mymusiclist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Brian Guadalupe
mymusiclist
Commits
fdf8c2e0
Commit
fdf8c2e0
authored
Dec 06, 2017
by
Brian Guadalupe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add EntryTag class
parent
67c5f265
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
models.py
tag/models.py
+1
-1
No files found.
tag/models.py
View file @
fdf8c2e0
...
@@ -8,6 +8,6 @@ class Tag(models.Model):
...
@@ -8,6 +8,6 @@ class Tag(models.Model):
def
__str__
(
self
):
def
__str__
(
self
):
return
self
.
name
return
self
.
name
class
TagEntry
(
models
.
Model
):
class
EntryTag
(
models
.
Model
):
tag
=
models
.
ForeignKey
(
Tag
)
tag
=
models
.
ForeignKey
(
Tag
)
music_entry
=
models
.
ForeignKey
(
MusicEntry
)
music_entry
=
models
.
ForeignKey
(
MusicEntry
)
\ No newline at end of file
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