1
0
Fork 0
IdreXyz/label/admin.py

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