Add talk_format field for SIP miniconf
This commit is contained in:
parent
b9e47d9daa
commit
ff20a96a00
2 changed files with 30 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.15 on 2018-10-24 07:13
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('proposals', '0014_securityproposal'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='securityproposal',
|
||||||
|
name='talk_format',
|
||||||
|
field=models.IntegerField(choices=[(1, 'Presentation (40-45 min)'), (2, 'Short Presentation (20-30 min)'), (3, 'Lightning Talk (5-10 min)')], default=1, help_text='Please indicate your preferred talk length in the private abstract field below.'),
|
||||||
|
preserve_default=False,
|
||||||
|
),
|
||||||
|
]
|
|
@ -125,6 +125,15 @@ class KernelProposal(Proposal):
|
||||||
|
|
||||||
|
|
||||||
class SecurityProposal(Proposal):
|
class SecurityProposal(Proposal):
|
||||||
|
TALK_FORMATS = [
|
||||||
|
(1, "Presentation (40-45 min)"),
|
||||||
|
(2, "Short Presentation (20-30 min)"),
|
||||||
|
(3, "Lightning Talk (5-10 min)")
|
||||||
|
]
|
||||||
|
|
||||||
|
talk_format = models.IntegerField(
|
||||||
|
choices=TALK_FORMATS,
|
||||||
|
help_text="Please indicate your preferred talk length in the private abstract field below.")
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = "Security, Identity and Privacy Miniconf Proposal"
|
verbose_name = "Security, Identity and Privacy Miniconf Proposal"
|
||||||
|
|
Loading…
Reference in a new issue