symposion_app/pinaxcon/proposals/admin.py
Sachi King 85ee108a1f Use full imports not .
And tox to py3.6
2017-04-29 14:28:48 +10:00

17 lines
455 B
Python

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)
class CategoryAdmin(admin.ModelAdmin):
class AdditionalSpeakerInline(admin.TabularInline):
model = symposion_models.AdditionalSpeaker
inlines = [
AdditionalSpeakerInline,
]