diff --git a/pinaxcon/proposals/migrations/0002_miniconfproposal_tutorialproposal.py b/pinaxcon/proposals/migrations/0002_miniconfproposal_tutorialproposal.py new file mode 100644 index 00000000..c53502fe --- /dev/null +++ b/pinaxcon/proposals/migrations/0002_miniconfproposal_tutorialproposal.py @@ -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',), + ), + ] diff --git a/pinaxcon/proposals/models.py b/pinaxcon/proposals/models.py index 2da49d83..b3f9898e 100644 --- a/pinaxcon/proposals/models.py +++ b/pinaxcon/proposals/models.py @@ -30,3 +30,13 @@ class TalkProposal(Proposal): class Meta: verbose_name = "talk proposal" + +class TutorialProposal(Proposal): + + class Meta: + verbose_name = "tutorial proposal" + +class MiniconfProposal(ProposalBase): + + class Meta: + verbose_name = "miniconf proposal"