Commit 46257732 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Fix migrations

parent d31edc44
# -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-10-21 10:15
# Generated by Django 1.10 on 2016-08-13 13:33
from __future__ import unicode_literals
import django.core.validators
......@@ -9,8 +9,6 @@ import django.db.models.deletion
class Migration(migrations.Migration):
replaces = [('events', '0001_initial'), ('events', '0002_auto_20160813_1620'), ('events', '0003_remove_event_registration_required'), ('events', '0004_event_cancel_deadline'), ('events', '0005_auto_20160914_2154'), ('events', '0006_auto_20160928_1919'), ('events', '0006_auto_20160921_2201'), ('events', '0007_merge_20161016_1322'), ('events', '0008_auto_20161016_1704'), ('events', '0007_auto_20161009_2352'), ('events', '0009_merge_20161019_2025'), ('events', '0010_auto_20161019_2221'), ('events', '0011_auto_20161019_2235')]
initial = True
dependencies = [
......@@ -124,144 +122,12 @@ class Migration(migrations.Migration):
name='registration',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='events.Registration'),
),
migrations.AddField(
model_name='registrationinformationfield',
name='required',
field=models.BooleanField(default=True, verbose_name='required'),
preserve_default=False,
),
migrations.AlterField(
model_name='registrationinformationfield',
name='type',
field=models.CharField(choices=[('boolean', 'Checkbox'), ('text', 'Text'), ('integer', 'Integer')], max_length=10, verbose_name='field type'),
),
migrations.RemoveField(
model_name='registrationinformationfield',
name='description',
),
migrations.RemoveField(
model_name='registrationinformationfield',
name='name',
),
migrations.AddField(
model_name='registrationinformationfield',
name='description_en',
field=models.TextField(blank=True, null=True, verbose_name='description (EN)'),
),
migrations.AddField(
model_name='registrationinformationfield',
name='description_nl',
field=models.TextField(blank=True, null=True, verbose_name='description (NL)'),
),
migrations.AddField(
model_name='registrationinformationfield',
name='name_en',
field=models.CharField(default='foo', max_length=100, verbose_name='field name (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='registrationinformationfield',
name='name_nl',
field=models.CharField(default='bar', max_length=100, verbose_name='field name (NL)'),
preserve_default=False,
),
migrations.AlterOrderWithRespectTo(
name='registrationinformationfield',
order_with_respect_to='event',
),
migrations.AlterField(
model_name='registration',
name='paid',
field=models.BooleanField(default=False, verbose_name='paid'),
),
migrations.AlterField(
model_name='registration',
name='present',
field=models.BooleanField(default=False, verbose_name='present'),
),
migrations.AlterUniqueTogether(
name='registration',
unique_together=set([('member', 'event', 'name', 'date_cancelled')]),
),
migrations.AlterField(
model_name='event',
name='organiser',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='activemembers.Committee'),
),
migrations.RemoveField(
model_name='event',
name='registration_required',
),
migrations.AddField(
model_name='event',
name='cancel_deadline',
field=models.DateTimeField(blank=True, null=True, verbose_name='cancel deadline'),
),
migrations.RemoveField(
model_name='event',
name='location',
),
migrations.RemoveField(
model_name='event',
name='no_registration_message',
),
migrations.RemoveField(
model_name='event',
name='title',
),
migrations.AddField(
model_name='event',
name='location_en',
field=models.CharField(default='', max_length=255, verbose_name='location (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='location_nl',
field=models.CharField(default='', max_length=255, verbose_name='location (NL)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='no_registration_message_en',
field=models.CharField(blank=True, help_text='Default: No registration required', max_length=200, null=True, verbose_name='message when there is no registration (EN)'),
),
migrations.AddField(
model_name='event',
name='no_registration_message_nl',
field=models.CharField(blank=True, help_text='Default: No registration required', max_length=200, null=True, verbose_name='message when there is no registration (NL)'),
),
migrations.AddField(
model_name='event',
name='title_en',
field=models.CharField(default='', max_length=100, verbose_name='title (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='title_nl',
field=models.CharField(default='', max_length=100, verbose_name='title (NL)'),
preserve_default=False,
),
migrations.AlterField(
model_name='event',
name='organiser',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='activemembers.Committee', verbose_name='organiser'),
),
migrations.RemoveField(
model_name='event',
name='description',
),
migrations.AddField(
model_name='event',
name='description_en',
field=models.TextField(default='', verbose_name='description (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='description_nl',
field=models.TextField(default='', verbose_name='description (NL)'),
preserve_default=False,
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-13 14:20
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('events', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='event',
name='organiser',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='activemembers.Committee'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-13 14:21
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('events', '0002_auto_20160813_1620'),
]
operations = [
migrations.RemoveField(
model_name='event',
name='registration_required',
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-08-31 19:39
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0003_remove_event_registration_required'),
]
operations = [
migrations.AddField(
model_name='event',
name='cancel_deadline',
field=models.DateTimeField(blank=True, null=True, verbose_name='cancel deadline'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-09-14 19:54
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('events', '0004_event_cancel_deadline'),
]
operations = [
migrations.RemoveField(
model_name='event',
name='location',
),
migrations.RemoveField(
model_name='event',
name='no_registration_message',
),
migrations.RemoveField(
model_name='event',
name='title',
),
migrations.AddField(
model_name='event',
name='location_en',
field=models.CharField(default='', max_length=255, verbose_name='location (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='location_nl',
field=models.CharField(default='', max_length=255, verbose_name='location (NL)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='no_registration_message_en',
field=models.CharField(blank=True, help_text='Default: No registration required', max_length=200, null=True, verbose_name='message when there is no registration (EN)'),
),
migrations.AddField(
model_name='event',
name='no_registration_message_nl',
field=models.CharField(blank=True, help_text='Default: No registration required', max_length=200, null=True, verbose_name='message when there is no registration (NL)'),
),
migrations.AddField(
model_name='event',
name='title_en',
field=models.CharField(default='', max_length=100, verbose_name='title (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='title_nl',
field=models.CharField(default='', max_length=100, verbose_name='title (NL)'),
preserve_default=False,
),
migrations.AlterField(
model_name='event',
name='organiser',
field=models.ForeignKey(null=True,
on_delete=django.db.models.deletion.SET_NULL, to='activemembers.Committee', verbose_name='organiser'),
),
migrations.AlterField(
model_name='registration',
name='paid',
field=models.BooleanField(default=False, verbose_name='paid'),
),
migrations.AlterField(
model_name='registration',
name='present',
field=models.BooleanField(default=False, verbose_name='present'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-09-21 20:01
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0005_auto_20160914_2154'),
]
operations = [
migrations.RemoveField(
model_name='event',
name='description',
),
migrations.AddField(
model_name='event',
name='description_en',
field=models.TextField(default='', verbose_name='description (EN)'),
preserve_default=False,
),
migrations.AddField(
model_name='event',
name='description_nl',
field=models.TextField(default='', verbose_name='description (NL)'),
preserve_default=False,
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-10-09 21:52
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0006_auto_20160921_2201'),
]
operations = [
migrations.AddField(
model_name='registrationinformationfield',
name='required',
field=models.BooleanField(default=True, verbose_name='required'),
preserve_default=False,
),
migrations.AlterField(
model_name='registrationinformationfield',
name='type',
field=models.CharField(choices=[('boolean', 'Checkbox'), ('text', 'Text'), ('integer', 'Integer')], max_length=10, verbose_name='field type'),
),
]
# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-10-22 09:42
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0007_auto_20161009_2352'),
]
operations = [
migrations.RenameField('registrationinformationfield',
'description', 'description_nl'),
migrations.RenameField('registrationinformationfield',
'name', 'name_nl'),
migrations.AddField(
model_name='registrationinformationfield',
name='description_en',
field=models.TextField(blank=True, null=True, verbose_name='description (EN)'),
),
migrations.AlterField(
model_name='registrationinformationfield',
name='description_nl',
field=models.TextField(blank=True, null=True, verbose_name='description (NL)'),
preserve_default=True,
),
migrations.AddField(
model_name='registrationinformationfield',
name='name_en',
field=models.CharField(default='', max_length=100,
verbose_name='field name (EN)'),
preserve_default=False,
),
migrations.AlterField(
model_name='registrationinformationfield',
name='name_nl',
field=models.CharField(max_length=100,
verbose_name='field name (NL)'),
preserve_default=True,
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment