symposion_app/pinaxcon/proposals/admin.py
Sachi King 39b556b7ac Mass style-check update
Seems okay.
2017-03-31 11:54:46 +11:00

28 lines
881 B
Python

from django.contrib import admin
import models
from symposion.proposals import models as symposion_models
@admin.register(models.TalkProposal)
@admin.register(models.TutorialProposal)
@admin.register(models.MiniconfProposal)
@admin.register(models.SysAdminProposal)
@admin.register(models.WriteTheDocsProposal)
@admin.register(models.OpenRadioProposal)
@admin.register(models.SecurityProposal)
@admin.register(models.WootconfProposal)
@admin.register(models.KernelProposal)
@admin.register(models.GamesProposal)
@admin.register(models.TestingProposal)
@admin.register(models.KnowledgeProposal)
@admin.register(models.LawProposal)
@admin.register(models.OpenHardwareProposal)
class CategoryAdmin(admin.ModelAdmin):
class AdditionalSpeakerInline(admin.TabularInline):
model = symposion_models.AdditionalSpeaker
inlines = [
AdditionalSpeakerInline,
]