Commit a911d87c authored by Julia Anishka's avatar Julia Anishka

added artist admin

parent 68450b59
from django.contrib import admin from django.contrib import admin
# Register your models here. # Register your models here.
class ArtistAdmin(admin.ModelAdmin):
model = Artist
list_display = ("artist_name", "birth_name", "monthly_listeners")
search_fields = ["artist_name", "birth_name"]
list_filter = ("artist_name", "birth_name",)
\ No newline at end of file
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