Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
agusyquia_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
Agu Syquia
agusyquia_music
Commits
60ed5094
Commit
60ed5094
authored
Feb 21, 2023
by
Agu Syquia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed errors and populated the api
parent
57ac25a7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
60 additions
and
1 deletion
+60
-1
db.sqlite3
agusyquia_music/db.sqlite3
+0
-0
admin.cpython-310.pyc
agusyquia_music/homepage/__pycache__/admin.cpython-310.pyc
+0
-0
models.cpython-310.pyc
agusyquia_music/homepage/__pycache__/models.cpython-310.pyc
+0
-0
admin.py
agusyquia_music/homepage/admin.py
+1
-1
0002_auto_20230221_2110.py
...quia_music/homepage/migrations/0002_auto_20230221_2110.py
+59
-0
0002_auto_20230221_2110.cpython-310.pyc
...tions/__pycache__/0002_auto_20230221_2110.cpython-310.pyc
+0
-0
No files found.
agusyquia_music/db.sqlite3
View file @
60ed5094
No preview for this file type
agusyquia_music/homepage/__pycache__/admin.cpython-310.pyc
View file @
60ed5094
No preview for this file type
agusyquia_music/homepage/__pycache__/models.cpython-310.pyc
View file @
60ed5094
No preview for this file type
agusyquia_music/homepage/admin.py
View file @
60ed5094
...
@@ -19,7 +19,7 @@ class AlbumAdmin(admin.ModelAdmin):
...
@@ -19,7 +19,7 @@ class AlbumAdmin(admin.ModelAdmin):
class
SongAdmin
(
admin
.
ModelAdmin
):
class
SongAdmin
(
admin
.
ModelAdmin
):
model
=
Song
model
=
Song
list_display
=
(
'song_title'
,
'song_length'
,
'lyrics'
,
'music_video
_flag
'
,)
list_display
=
(
'song_title'
,
'song_length'
,
'lyrics'
,
'music_video'
,)
search_fields
=
(
'song_title'
,
'lyrics'
,)
search_fields
=
(
'song_title'
,
'lyrics'
,)
list_filter
=
(
'song_title'
,)
list_filter
=
(
'song_title'
,)
...
...
agusyquia_music/homepage/migrations/0002_auto_20230221_2110.py
0 → 100644
View file @
60ed5094
# Generated by Django 3.2 on 2023-02-21 13:10
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0001_initial'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'label'
,
field
=
models
.
CharField
(
default
=
69
,
max_length
=
69
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'album'
,
name
=
'song_count'
,
field
=
models
.
IntegerField
(
default
=
69
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'bio'
,
field
=
models
.
TextField
(
default
=
69
,
max_length
=
700
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'artist'
,
name
=
'birth_name'
,
field
=
models
.
CharField
(
default
=
69
,
max_length
=
69
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'lyrics'
,
field
=
models
.
TextField
(
default
=
69
),
preserve_default
=
False
,
),
migrations
.
AddField
(
model_name
=
'song'
,
name
=
'music_video'
,
field
=
models
.
BooleanField
(
default
=
False
),
preserve_default
=
False
,
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'album'
,
field
=
models
.
CharField
(
max_length
=
69
),
),
migrations
.
AlterField
(
model_name
=
'song'
,
name
=
'artist'
,
field
=
models
.
CharField
(
max_length
=
69
),
),
]
agusyquia_music/homepage/migrations/__pycache__/0002_auto_20230221_2110.cpython-310.pyc
0 → 100644
View file @
60ed5094
File added
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