fnp
/
audio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix
[audio.git]
/
src
/
youtube
/
admin.py
1
from django.contrib import admin
2
from . import models
3
4
5
class CardInline(admin.TabularInline):
6
model = models.Card
7
8
9
class YouTubeAdmin(admin.ModelAdmin):
10
inlines = [CardInline]
11
12
13
admin.site.register(models.YouTube, YouTubeAdmin)
14
15
16
admin.site.register(models.Font)