# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-09-04 02:35
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'),
        ('registrasion', '0002_auto_20160822_0034'),
    ]

    operations = [
        migrations.CreateModel(
            name='SpeakerDiscount',
            fields=[
                ('discountbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.DiscountBase')),
                ('is_presenter', models.BooleanField(help_text='This condition is met if the user is the primary presenter of a presentation.')),
                ('is_copresenter', models.BooleanField(help_text='This condition is met if the user is a copresenter of a presentation.')),
                ('proposal_kind', models.ManyToManyField(help_text='The types of proposals that these users may be presenters of.', to='symposion_proposals.ProposalKind')),
            ],
            options={
                'verbose_name': 'discount (speaker)',
                'verbose_name_plural': 'discounts (speaker)',
            },
            bases=('registrasion.discountbase', models.Model),
        ),
        migrations.CreateModel(
            name='SpeakerFlag',
            fields=[
                ('flagbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.FlagBase')),
                ('is_presenter', models.BooleanField(help_text='This condition is met if the user is the primary presenter of a presentation.')),
                ('is_copresenter', models.BooleanField(help_text='This condition is met if the user is a copresenter of a presentation.')),
                ('proposal_kind', models.ManyToManyField(help_text='The types of proposals that these users may be presenters of.', to='symposion_proposals.ProposalKind')),
            ],
            options={
                'verbose_name': 'flag (speaker)',
                'verbose_name_plural': 'flags (speaker)',
            },
            bases=('registrasion.flagbase', models.Model),
        ),
        migrations.AlterField(
            model_name='includedproductdiscount',
            name='enabling_products',
            field=models.ManyToManyField(help_text='If one of these products are purchased, this condition is met.', to='registrasion.Product', verbose_name='Including product'),
        ),
        migrations.AlterField(
            model_name='productflag',
            name='enabling_products',
            field=models.ManyToManyField(help_text='If one of these products are purchased, this condition is met.', to='registrasion.Product', verbose_name='Including product'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='end_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should stop being true.', null=True, verbose_name='End time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='limit',
            field=models.PositiveIntegerField(blank=True, help_text='How many times this condition may be applied for all users.', null=True, verbose_name='Limit'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='start_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should start being true', null=True, verbose_name='Start time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='end_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should stop being true.', null=True, verbose_name='End time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='limit',
            field=models.PositiveIntegerField(blank=True, help_text='How many times this condition may be applied for all users.', null=True, verbose_name='Limit'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='start_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should start being true', null=True, verbose_name='Start time'),
        ),
        migrations.AlterField(
            model_name='voucherflag',
            name='voucher',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='registrasion.Voucher', verbose_name='Voucher'),
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.9.2 on 2016-09-04 02:35
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'),
        ('registrasion', '0002_auto_20160822_0034'),
    ]

    operations = [
        migrations.CreateModel(
            name='SpeakerDiscount',
            fields=[
                ('discountbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.DiscountBase')),
                ('is_presenter', models.BooleanField(help_text='This condition is met if the user is the primary presenter of a presentation.')),
                ('is_copresenter', models.BooleanField(help_text='This condition is met if the user is a copresenter of a presentation.')),
                ('proposal_kind', models.ManyToManyField(help_text='The types of proposals that these users may be presenters of.', to='symposion_proposals.ProposalKind')),
            ],
            options={
                'verbose_name': 'discount (speaker)',
                'verbose_name_plural': 'discounts (speaker)',
            },
            bases=('registrasion.discountbase', models.Model),
        ),
        migrations.CreateModel(
            name='SpeakerFlag',
            fields=[
                ('flagbase_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='registrasion.FlagBase')),
                ('is_presenter', models.BooleanField(help_text='This condition is met if the user is the primary presenter of a presentation.')),
                ('is_copresenter', models.BooleanField(help_text='This condition is met if the user is a copresenter of a presentation.')),
                ('proposal_kind', models.ManyToManyField(help_text='The types of proposals that these users may be presenters of.', to='symposion_proposals.ProposalKind')),
            ],
            options={
                'verbose_name': 'flag (speaker)',
                'verbose_name_plural': 'flags (speaker)',
            },
            bases=('registrasion.flagbase', models.Model),
        ),
        migrations.AlterField(
            model_name='includedproductdiscount',
            name='enabling_products',
            field=models.ManyToManyField(help_text='If one of these products are purchased, this condition is met.', to='registrasion.Product', verbose_name='Including product'),
        ),
        migrations.AlterField(
            model_name='productflag',
            name='enabling_products',
            field=models.ManyToManyField(help_text='If one of these products are purchased, this condition is met.', to='registrasion.Product', verbose_name='Including product'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='end_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should stop being true.', null=True, verbose_name='End time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='limit',
            field=models.PositiveIntegerField(blank=True, help_text='How many times this condition may be applied for all users.', null=True, verbose_name='Limit'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitdiscount',
            name='start_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should start being true', null=True, verbose_name='Start time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='end_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should stop being true.', null=True, verbose_name='End time'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='limit',
            field=models.PositiveIntegerField(blank=True, help_text='How many times this condition may be applied for all users.', null=True, verbose_name='Limit'),
        ),
        migrations.AlterField(
            model_name='timeorstocklimitflag',
            name='start_time',
            field=models.DateTimeField(blank=True, help_text='When the condition should start being true', null=True, verbose_name='Start time'),
        ),
        migrations.AlterField(
            model_name='voucherflag',
            name='voucher',
            field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='registrasion.Voucher', verbose_name='Voucher'),
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.9.2 on 2016-09-04 02:35