1
0
Fork 0
IdreXyz/label/admin.py

13 lines
252 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
2017-08-17 19:13:54 +02:00
from label.models import Artist, Release, VideoClip
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)
2017-08-17 19:13:54 +02:00
admin.site.register(VideoClip)