Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nishaespera_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
Julia Anishka
nishaespera_music
Commits
cca68cba
Commit
cca68cba
authored
Feb 21, 2023
by
Julia Anishka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited register for the 3 models
parent
58598ab0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
3 deletions
+21
-3
db.sqlite3
nishaespera_music/db.sqlite3
+0
-0
admin.cpython-310.pyc
nishaespera_music/homepage/__pycache__/admin.cpython-310.pyc
+0
-0
admin.py
nishaespera_music/homepage/admin.py
+3
-3
0005_alter_album_description.py
...music/homepage/migrations/0005_alter_album_description.py
+18
-0
0005_alter_album_description.cpython-310.pyc
.../__pycache__/0005_alter_album_description.cpython-310.pyc
+0
-0
No files found.
nishaespera_music/db.sqlite3
View file @
cca68cba
No preview for this file type
nishaespera_music/homepage/__pycache__/admin.cpython-310.pyc
View file @
cca68cba
No preview for this file type
nishaespera_music/homepage/admin.py
View file @
cca68cba
...
@@ -22,6 +22,6 @@ class SongAdmin(admin.ModelAdmin):
...
@@ -22,6 +22,6 @@ class SongAdmin(admin.ModelAdmin):
search_fields
=
[
"song_title"
,
"lyrics"
]
search_fields
=
[
"song_title"
,
"lyrics"
]
list_filter
=
(
"song_title"
,)
list_filter
=
(
"song_title"
,)
admin
.
site
.
register
(
Artist
)
admin
.
site
.
register
(
Artist
,
ArtistAdmin
)
admin
.
site
.
register
(
Album
)
admin
.
site
.
register
(
Album
,
AlbumAdmin
)
admin
.
site
.
register
(
Song
)
admin
.
site
.
register
(
Song
,
SongAdmin
)
\ No newline at end of file
\ No newline at end of file
nishaespera_music/homepage/migrations/0005_alter_album_description.py
0 → 100644
View file @
cca68cba
# Generated by Django 3.2 on 2023-02-20 16:28
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'homepage'
,
'0004_alter_album_description'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'album'
,
name
=
'description'
,
field
=
models
.
TextField
(
max_length
=
700
),
),
]
nishaespera_music/homepage/migrations/__pycache__/0005_alter_album_description.cpython-310.pyc
0 → 100644
View file @
cca68cba
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