079f87b1d2
To me, this registeres to a user as a required field better than a radio-button. As well, we now signal it as "required = True"
17 lines
438 B
Python
17 lines
438 B
Python
from django.contrib import admin
|
|
|
|
from . 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,
|
|
]
|