Adds new proposal types for Tutorials and Miniconfs (#9)
This commit is contained in:
parent
a160e2b7c3
commit
8bf549c37f
2 changed files with 49 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.7 on 2016-06-18 03:41
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('symposion_proposals', '0001_initial'),
|
||||||
|
('proposals', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='MiniconfProposal',
|
||||||
|
fields=[
|
||||||
|
('proposalbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='symposion_proposals.ProposalBase')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'verbose_name': 'miniconf proposal',
|
||||||
|
},
|
||||||
|
bases=('symposion_proposals.proposalbase',),
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='TutorialProposal',
|
||||||
|
fields=[
|
||||||
|
('proposalbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='symposion_proposals.ProposalBase')),
|
||||||
|
('audience_level', models.IntegerField(choices=[(1, b'Novice'), (3, b'Intermediate'), (2, b'Experienced')])),
|
||||||
|
('recording_release', models.BooleanField(default=True, help_text=b'By submitting your proposal, you agree to give permission to the conference organizers to record, edit, and release audio and/or video of your presentation. If you do not agree to this, please uncheck this box.')),
|
||||||
|
],
|
||||||
|
options={
|
||||||
|
'verbose_name': 'tutorial proposal',
|
||||||
|
},
|
||||||
|
bases=('symposion_proposals.proposalbase',),
|
||||||
|
),
|
||||||
|
]
|
|
@ -30,3 +30,13 @@ class TalkProposal(Proposal):
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = "talk proposal"
|
verbose_name = "talk proposal"
|
||||||
|
|
||||||
|
class TutorialProposal(Proposal):
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name = "tutorial proposal"
|
||||||
|
|
||||||
|
class MiniconfProposal(ProposalBase):
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
verbose_name = "miniconf proposal"
|
||||||
|
|
Loading…
Reference in a new issue