Commit cfba3eab authored by Ian Rafael T. Aragoza's avatar Ian Rafael T. Aragoza

Registered models on admin.py.

parent 3bfd39a8
from django.contrib import admin from django.contrib import admin
from .models import Artist, Album, Song
# Register your models here. # Register your models here.
class ArtistAdmin(admin.ModelAdmin):
model = Artist
class AlbumAdmin(admin.ModelAdmin):
model = Album
class SongAdmin(admin.ModelAdmin):
model = Song
\ 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