36 lines
1.3 KiB
Python
36 lines
1.3 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.29 on 2020-12-03 10:44
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('dav_registration', '0005_auto_20201015_1738'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='RegistrationStatus',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
('answered', models.BooleanField(default=False, verbose_name='Durch Tourleitung beantwortet')),
|
|
('accepted', models.NullBooleanField(verbose_name='Zusage erteilt')),
|
|
],
|
|
options={
|
|
'verbose_name': 'Anmeldungsstatus',
|
|
'verbose_name_plural': 'Anmeldungsstati',
|
|
'ordering': ['updated_at'],
|
|
},
|
|
),
|
|
migrations.AddField(
|
|
model_name='registrationstatus',
|
|
name='registration',
|
|
field=models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='status', to='dav_registration.Registration'),
|
|
),
|
|
]
|