Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alliyah_marcelo_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
Alliyah Ericka Therese E. Marcelo
alliyah_marcelo_music
Commits
786dbb8a
Commit
786dbb8a
authored
Feb 21, 2023
by
Alliyah Marcelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new attributes to Artist, Album, and Song classes.
parent
02208929
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
0 deletions
+9
-0
settings.json
.vscode/settings.json
+3
-0
models.cpython-39.pyc
..._marcelo_music/Homepage/__pycache__/models.cpython-39.pyc
+0
-0
models.py
alliyah_marcelo_music/Homepage/models.py
+6
-0
views.cpython-39.pyc
alliyah_marcelo_music/about/__pycache__/views.cpython-39.pyc
+0
-0
No files found.
.vscode/settings.json
0 → 100644
View file @
786dbb8a
{
"python.pythonPath"
:
"myenv
\\
Scripts
\\
python.exe"
}
\ No newline at end of file
alliyah_marcelo_music/Homepage/__pycache__/models.cpython-39.pyc
View file @
786dbb8a
No preview for this file type
alliyah_marcelo_music/Homepage/models.py
View file @
786dbb8a
...
...
@@ -4,6 +4,8 @@ from django.db import models
class
Artist
(
models
.
Model
):
artist_name
=
models
.
CharField
(
max_length
=
50
)
monthly_listeners
=
models
.
IntegerField
()
birth_name
=
models
.
CharField
(
max_length
=
50
)
bio
=
models
.
CharField
(
max_length
=
700
)
class
Album
(
models
.
Model
):
...
...
@@ -15,6 +17,8 @@ class Album(models.Model):
)
description
=
models
.
CharField
(
max_length
=
1000
)
release_date
=
models
.
CharField
(
max_length
=
50
)
label
=
models
.
CharField
(
max_length
=
50
)
song_count
=
models
.
IntegerField
()
class
Song
(
models
.
Model
):
...
...
@@ -30,3 +34,5 @@ class Song(models.Model):
related_name
=
'song_album'
)
song_length
=
models
.
IntegerField
()
music_video
=
models
.
BooleanFiled
()
lyrics
=
models
.
CharField
(
max_length
=
8000
)
alliyah_marcelo_music/about/__pycache__/views.cpython-39.pyc
View file @
786dbb8a
No preview for this file type
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