Commit 2800de54 authored by fred's avatar fred
Browse files

add soundfiles to admin

parent aecdfc32
from django.contrib import admin
from .models import Emission, Episode, Category, Schedule, \
NewsItem, NewsCategory
SoundFile, NewsItem, NewsCategory
class EmissionAdmin(admin.ModelAdmin):
prepopulated_fields = {'slug': ('title',)}
......@@ -37,3 +37,9 @@ class NewsItemAdmin(admin.ModelAdmin):
pass, NewsItemAdmin)
class SoundFileAdmin(admin.ModelAdmin):
pass, SoundFileAdmin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment