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
f201b1df
Commit
f201b1df
authored
Feb 20, 2023
by
Nate Brevin A. Que
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added birth_name and bio fields to the Artist Model.
parent
1c7e61f2
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
0 deletions
+25
-0
db.sqlite3
brevinque_music/db.sqlite3
+0
-0
models.cpython-311.pyc
brevinque_music/homepage/__pycache__/models.cpython-311.pyc
+0
-0
0002_auto_20230220_1240.py
...nque_music/homepage/migrations/0002_auto_20230220_1240.py
+23
-0
0001_initial.cpython-311.pyc
...epage/migrations/__pycache__/0001_initial.cpython-311.pyc
+0
-0
0002_auto_20230220_1240.cpython-311.pyc
...tions/__pycache__/0002_auto_20230220_1240.cpython-311.pyc
+0
-0
models.py
brevinque_music/homepage/models.py
+2
-0
No files found.
brevinque_music/db.sqlite3
View file @
f201b1df
No preview for this file type
brevinque_music/homepage/__pycache__/models.cpython-311.pyc
View file @
f201b1df
No preview for this file type
brevinque_music/homepage/migrations/0002_auto_20230220_1240.py
0 → 100644
View file @
f201b1df
# Generated by Django 3.2 on 2023-02-20 04:40
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'bio'
,
field
=
models
.
TextField
(
default
=
''
,
max_length
=
700
),
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'birth_name'
,
field
=
models
.
CharField
(
default
=
''
,
max_length
=
50
),
),
]
brevinque_music/homepage/migrations/__pycache__/0001_initial.cpython-311.pyc
View file @
f201b1df
No preview for this file type
brevinque_music/homepage/migrations/__pycache__/0002_auto_20230220_1240.cpython-311.pyc
0 → 100644
View file @
f201b1df
File added
brevinque_music/homepage/models.py
View file @
f201b1df
...
@@ -4,6 +4,8 @@ from django.db import models
...
@@ -4,6 +4,8 @@ from django.db import models
class
Artist
(
models
.
Model
):
class
Artist
(
models
.
Model
):
artist_name
=
models
.
CharField
(
max_length
=
50
)
artist_name
=
models
.
CharField
(
max_length
=
50
)
monthly_listeners
=
models
.
IntegerField
()
monthly_listeners
=
models
.
IntegerField
()
birth_name
=
models
.
CharField
(
max_length
=
50
,
default
=
""
)
bio
=
models
.
TextField
(
max_length
=
700
,
default
=
""
)
class
Album
(
models
.
Model
):
class
Album
(
models
.
Model
):
...
...
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