Commit cca68cba authored by Julia Anishka's avatar Julia Anishka

edited register for the 3 models

parent 58598ab0
......@@ -22,6 +22,6 @@ class SongAdmin(admin.ModelAdmin):
search_fields = ["song_title", "lyrics"]
list_filter = ("song_title",)
admin.site.register(Artist)
admin.site.register(Album)
admin.site.register(Song)
\ No newline at end of file
admin.site.register(Artist, ArtistAdmin)
admin.site.register(Album, AlbumAdmin)
admin.site.register(Song, SongAdmin)
\ No newline at end of file
# 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),
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment