Changeset - ff20a96a00a1
[Not reviewed]
0 1 1
Tobias - 6 years ago 2018-10-24 07:14:01
tobias@localhost.localdomain
Add talk_format field for SIP miniconf
2 files changed with 30 insertions and 0 deletions:
0 comments (0 inline, 0 general)
pinaxcon/proposals/migrations/0015_securityproposal_talk_format.py
Show inline comments
 
new file 100644
 
# -*- 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,
 
        ),
 
    ]
pinaxcon/proposals/models.py
Show inline comments
...
 
@@ -125,6 +125,15 @@ class KernelProposal(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:
 
        verbose_name = "Security, Identity and Privacy Miniconf Proposal"
0 comments (0 inline, 0 general)