live_share_youtube/player/admin.py
2018-03-28 17:05:18 +02:00

13 lines
297 B
Python

from django.contrib import admin
from .models import Playlist, Link
class PlaylistAdmin(admin.ModelAdmin):
list_display = ['name', 'date']
ordering = ['date']
class LinkAdmin(admin.ModelAdmin):
pass
admin.site.register(Playlist, PlaylistAdmin)
admin.site.register(Link, LinkAdmin)