-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Merlin Buczek
committed
Jun 13, 2019
1 parent
0ca8883
commit 2bcaa09
Showing
7 changed files
with
266 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 2.2.1 on 2019-06-13 11:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('base', '0012_auto_20190607_1139'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ContactRelation', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('sort_order', models.IntegerField(blank=True, editable=False, null=True)), | ||
('position', models.CharField(blank=True, max_length=50)), | ||
], | ||
options={ | ||
'verbose_name': 'contact information', | ||
'verbose_name_plural': 'contact information', | ||
}, | ||
), | ||
migrations.DeleteModel( | ||
name='Contacts', | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 2.2.1 on 2019-06-13 11:33 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import modelcluster.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('personal', '0003_auto_20190613_1333'), | ||
('base', '0013_auto_20190613_1333'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='contactrelation', | ||
name='contact', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='contact_references', to='personal.Contact', verbose_name='contact'), | ||
), | ||
migrations.AddField( | ||
model_name='contactrelation', | ||
name='page', | ||
field=modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='contacts', to='base.CategoryPage'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Generated by Django 2.2.1 on 2019-06-13 11:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('events', '0002_auto_20190601_1604'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='event', | ||
options={'ordering': ['start_date'], 'verbose_name': 'event', 'verbose_name_plural': 'events'}, | ||
), | ||
migrations.AlterModelOptions( | ||
name='eventindex', | ||
options={'verbose_name': 'event index', 'verbose_name_plural': 'event indexes'}, | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='description', | ||
field=models.TextField(blank=True, max_length=400, verbose_name='description'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='description_de', | ||
field=models.TextField(blank=True, max_length=400, null=True, verbose_name='description'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='description_en', | ||
field=models.TextField(blank=True, max_length=400, null=True, verbose_name='description'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='end_date', | ||
field=models.DateField(blank=True, null=True, verbose_name='end date'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='end_time', | ||
field=models.TimeField(blank=True, null=True, verbose_name='end time'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='start_date', | ||
field=models.DateField(verbose_name='start date'), | ||
), | ||
migrations.AlterField( | ||
model_name='event', | ||
name='start_time', | ||
field=models.TimeField(blank=True, null=True, verbose_name='start time'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Generated by Django 2.2.1 on 2019-06-13 11:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('news', '0006_auto_20190605_1200'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterModelOptions( | ||
name='newspage', | ||
options={'verbose_name': 'news blog', 'verbose_name_plural': 'news blogs'}, | ||
), | ||
migrations.AlterField( | ||
model_name='newsentry', | ||
name='date', | ||
field=models.DateField(auto_now_add=True, verbose_name='post date'), | ||
), | ||
migrations.AlterField( | ||
model_name='newspage', | ||
name='show_all', | ||
field=models.BooleanField(default=False, help_text='Include all news from subpages', verbose_name='show all news'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Generated by Django 2.2.1 on 2019-06-13 11:33 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import modelcluster.fields | ||
import wagtail.search.index | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('base', '0013_auto_20190613_1333'), | ||
('personal', '0002_auto_20190527_1655'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Contact', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=254, verbose_name='name')), | ||
('email', models.EmailField(blank=True, max_length=254, verbose_name='email')), | ||
('phone', models.IntegerField(blank=True, null=True, verbose_name='phone number')), | ||
('room', models.CharField(blank=True, max_length=25, verbose_name='room')), | ||
], | ||
options={ | ||
'verbose_name': 'Contact', | ||
'verbose_name_plural': 'Contacts', | ||
}, | ||
bases=(wagtail.search.index.Indexed, models.Model), | ||
), | ||
migrations.CreateModel( | ||
name='ContactGroups', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('sort_order', models.IntegerField(blank=True, editable=False, null=True)), | ||
('contact', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='groups', to='personal.Contact')), | ||
], | ||
options={ | ||
'ordering': ['sort_order'], | ||
'abstract': False, | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='Group', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(max_length=254, verbose_name='name')), | ||
], | ||
options={ | ||
'verbose_name': 'Group', | ||
'verbose_name_plural': 'Groups', | ||
}, | ||
bases=(wagtail.search.index.Indexed, models.Model), | ||
), | ||
migrations.DeleteModel( | ||
name='Person', | ||
), | ||
migrations.AddField( | ||
model_name='contactgroups', | ||
name='group', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='contacts', to='personal.Group', verbose_name='groups'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters