Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
brevinque_music
Project
Project
Details
Activity
Releases
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
Nate Brevin A. Que
brevinque_music
Commits
c24c5dab
Commit
c24c5dab
authored
Feb 20, 2023
by
Nate Brevin A. Que
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added music_video and lyrics fields to the Song Model.
parent
9c106e36
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
1 deletion
+26
-1
db.sqlite3
brevinque_music/db.sqlite3
+0
-0
models.cpython-311.pyc
brevinque_music/homepage/__pycache__/models.cpython-311.pyc
+0
-0
0004_auto_20230220_1247.py
...nque_music/homepage/migrations/0004_auto_20230220_1247.py
+23
-0
0004_auto_20230220_1247.cpython-311.pyc
...tions/__pycache__/0004_auto_20230220_1247.cpython-311.pyc
+0
-0
models.py
brevinque_music/homepage/models.py
+3
-1
No files found.
brevinque_music/db.sqlite3
View file @
c24c5dab
No preview for this file type
brevinque_music/homepage/__pycache__/models.cpython-311.pyc
View file @
c24c5dab
No preview for this file type
brevinque_music/homepage/migrations/0004_auto_20230220_1247.py
0 → 100644
View file @
c24c5dab
# Generated by Django 3.2 on 2023-02-20 04:47
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0003_auto_20230220_1243'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'lyrics'
,
field
=
models
.
TextField
(
default
=
''
),
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'music_video'
,
field
=
models
.
BooleanField
(
default
=
False
),
),
]
brevinque_music/homepage/migrations/__pycache__/0004_auto_20230220_1247.cpython-311.pyc
0 → 100644
View file @
c24c5dab
File added
brevinque_music/homepage/models.py
View file @
c24c5dab
...
...
@@ -22,3 +22,5 @@ class Song(models.Model):
artist
=
models
.
ForeignKey
(
Artist
,
on_delete
=
models
.
CASCADE
)
album
=
models
.
ForeignKey
(
Album
,
on_delete
=
models
.
CASCADE
)
song_length
=
models
.
IntegerField
()
music_video
=
models
.
BooleanField
(
default
=
False
)
lyrics
=
models
.
TextField
(
default
=
""
)
\ 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