1
0
Fork 0
IdreXyz/label/admin.py

12 lines
210 B
Python
Raw Normal View History

2015-03-14 22:38:12 +01:00
from django.contrib import admin
2016-02-02 18:30:43 +01:00
from label.models import Artist, Release
2015-03-14 22:38:12 +01:00
2015-05-02 13:06:39 +02:00
class ArtistAdmin(admin.ModelAdmin):
2017-08-15 15:26:32 +02:00
exclude = ('slug',)
2015-05-02 13:06:39 +02:00
admin.site.register(Artist, ArtistAdmin)
admin.site.register(Release)