Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rachpurisima_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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rachel
rachpurisima_music
Commits
32dbddd8
Commit
32dbddd8
authored
Feb 21, 2023
by
rachbit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
populated databases
parent
239c08c6
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
126 additions
and
16 deletions
+126
-16
db.sqlite3
rachpurisima_music/db.sqlite3
+0
-0
models.cpython-39.pyc
...purisima_music/homepage/__pycache__/models.cpython-39.pyc
+0
-0
0002_auto_20230220_0853.py
...sima_music/homepage/migrations/0002_auto_20230220_0853.py
+1
-1
0003_alter_album_song_count.py
..._music/homepage/migrations/0003_alter_album_song_count.py
+18
-0
0004_auto_20230220_0912.py
...sima_music/homepage/migrations/0004_auto_20230220_0912.py
+83
-0
0002_auto_20230220_0853.cpython-39.pyc
...ations/__pycache__/0002_auto_20230220_0853.cpython-39.pyc
+0
-0
0003_alter_album_song_count.cpython-39.pyc
...ns/__pycache__/0003_alter_album_song_count.cpython-39.pyc
+0
-0
0004_auto_20230220_0912.cpython-39.pyc
...ations/__pycache__/0004_auto_20230220_0912.cpython-39.pyc
+0
-0
models.py
rachpurisima_music/homepage/models.py
+24
-15
No files found.
rachpurisima_music/db.sqlite3
View file @
32dbddd8
No preview for this file type
rachpurisima_music/homepage/__pycache__/models.cpython-39.pyc
View file @
32dbddd8
No preview for this file type
rachpurisima_music/homepage/migrations/0002_auto_20230220_0853.py
View file @
32dbddd8
...
...
@@ -18,7 +18,7 @@ class Migration(migrations.Migration):
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'song_count'
,
field
=
models
.
IntegerField
(
default
=
''
),
field
=
models
.
IntegerField
(
default
=
0
),
),
migrations
.
AddField
(
model_name
=
'artist'
,
...
...
rachpurisima_music/homepage/migrations/0003_alter_album_song_count.py
0 → 100644
View file @
32dbddd8
# Generated by Django 3.2 on 2023-02-20 08:59
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0002_auto_20230220_0853'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'song_count'
,
field
=
models
.
IntegerField
(),
),
]
rachpurisima_music/homepage/migrations/0004_auto_20230220_0912.py
0 → 100644
View file @
32dbddd8
# Generated by Django 3.2 on 2023-02-20 09:12
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0003_alter_album_song_count'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'album_name'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'artist'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'description'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'label'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'release_date'
,
field
=
models
.
DateField
(),
),
migrations
.
AlterField
(
model_name
=
'artist'
,
name
=
'artist_name'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'artist'
,
name
=
'bio'
,
field
=
models
.
CharField
(
max_length
=
700
),
),
migrations
.
AlterField
(
model_name
=
'artist'
,
name
=
'birth_name'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'artist'
,
name
=
'monthly_listeners'
,
field
=
models
.
IntegerField
(),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'album'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'artist'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'lyrics'
,
field
=
models
.
TextField
(),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'song_length'
,
field
=
models
.
IntegerField
(),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'song_title'
,
field
=
models
.
TextField
(),
),
]
rachpurisima_music/homepage/migrations/__pycache__/0002_auto_20230220_0853.cpython-39.pyc
0 → 100644
View file @
32dbddd8
File added
rachpurisima_music/homepage/migrations/__pycache__/0003_alter_album_song_count.cpython-39.pyc
0 → 100644
View file @
32dbddd8
File added
rachpurisima_music/homepage/migrations/__pycache__/0004_auto_20230220_0912.cpython-39.pyc
0 → 100644
View file @
32dbddd8
File added
rachpurisima_music/homepage/models.py
View file @
32dbddd8
...
...
@@ -4,25 +4,34 @@ from django.db import models
class
Artist
(
models
.
Model
):
artist_name
=
models
.
TextField
(
default
=
""
)
monthly_listeners
=
models
.
IntegerField
(
default
=
""
)
birth_name
=
models
.
TextField
(
default
=
""
)
bio
=
models
.
CharField
(
max_length
=
700
,
default
=
""
)
artist_name
=
models
.
TextField
()
monthly_listeners
=
models
.
IntegerField
()
birth_name
=
models
.
TextField
()
bio
=
models
.
CharField
(
max_length
=
700
)
def
__str__
(
self
):
return
'{}'
.
format
(
self
.
artist_name
)
class
Album
(
models
.
Model
):
album_name
=
models
.
TextField
(
default
=
""
)
artist
=
models
.
TextField
(
default
=
""
)
description
=
models
.
TextField
(
default
=
""
)
release_date
=
models
.
DateField
(
default
=
""
)
label
=
models
.
TextField
(
default
=
""
)
song_count
=
models
.
IntegerField
(
default
=
""
)
album_name
=
models
.
TextField
()
artist
=
models
.
TextField
()
description
=
models
.
TextField
()
release_date
=
models
.
DateField
()
label
=
models
.
TextField
()
song_count
=
models
.
IntegerField
()
def
__str__
(
self
):
return
'{}'
.
format
(
self
.
album_name
)
class
Song
(
models
.
Model
):
song_title
=
models
.
TextField
(
default
=
""
)
artist
=
models
.
TextField
(
default
=
""
)
album
=
models
.
TextField
(
default
=
""
)
song_length
=
models
.
IntegerField
(
default
=
""
)
song_title
=
models
.
TextField
()
artist
=
models
.
TextField
()
album
=
models
.
TextField
()
song_length
=
models
.
IntegerField
()
music_video
=
models
.
BooleanField
(
default
=
False
)
lyrics
=
models
.
TextField
(
default
=
""
)
lyrics
=
models
.
TextField
()
def
__str__
(
self
):
return
'{}'
.
format
(
self
.
song_title
)
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