From fccf547e9f981b2411eb6c6b3e0f8fd11deccf63 Mon Sep 17 00:00:00 2001 From: Scott Bragg Date: Fri, 23 Dec 2016 17:44:16 +1100 Subject: [PATCH] Migration for open hardware CFP (#86) * Form for Open Hardware CFP * Oops forgot the migration --- .../migrations/0008_openhardwareproposal.py | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pinaxcon/proposals/migrations/0008_openhardwareproposal.py diff --git a/pinaxcon/proposals/migrations/0008_openhardwareproposal.py b/pinaxcon/proposals/migrations/0008_openhardwareproposal.py new file mode 100644 index 00000000..ab72c1c6 --- /dev/null +++ b/pinaxcon/proposals/migrations/0008_openhardwareproposal.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.7 on 2016-12-23 06:13 +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', '0007_knowledgeproposal_lawproposal_testingproposal'), + ] + + operations = [ + migrations.CreateModel( + name='OpenHardwareProposal', + 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')), + ('target_audience', models.IntegerField(choices=[(1, b'User'), (2, b'Business'), (3, b'Community'), (4, b'Developer')])), + ('recording_release', models.BooleanField(default=True, help_text=b"I allow Linux Australia to release any recordings of presentations covered by this proposal, under the Creative Commons Attribution-Share Alike Australia 3.0 Licence")), + ('materials_release', models.BooleanField(default=True, help_text=b"I allow Linux Australia to release any other material (such as slides) from presentations covered by this proposal, under the Creative Commons Attribution-Share Alike Australia 3.0 Licence")), + ('talk_format', models.IntegerField(choices=[(1, b'Presentation (20 min)'), (2, b'Lightning Talk (5 min)')])), + ], + options={ + 'verbose_name': 'Open Hardware Miniconf Proposal', + }, + bases=('symposion_proposals.proposalbase',), + ), + ]