symposion_app/pinaxcon/proposals/admin.py

31 lines
943 B
Python
Raw Normal View History

from django.contrib import admin
from pinaxcon.proposals 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.KernelProposal)
@admin.register(models.GamesProposal)
@admin.register(models.OpenHardwareProposal)
@admin.register(models.ClsXLCAProposal)
@admin.register(models.FuncProgProposal)
@admin.register(models.OpenEdProposal)
@admin.register(models.OpenGLAMProposal)
@admin.register(models.FPGAProposal)
@admin.register(models.DevDevProposal)
@admin.register(models.ArtTechProposal)
@admin.register(models.BioInformaticsProposal)
class CategoryAdmin(admin.ModelAdmin):
class AdditionalSpeakerInline(admin.TabularInline):
model = symposion_models.AdditionalSpeaker
inlines = [
AdditionalSpeakerInline,
]