Commit a330794f authored by gijs's avatar gijs

Finetuning on_delete

parent cb8d42b5
# Generated by Django 2.1.1 on 2019-04-05 07:24
import adminsortable.fields
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
import filer.fields.image
class Migration(migrations.Migration):
dependencies = [
('contour', '0050_auto_20190324_0744'),
]
operations = [
migrations.AlterField(
model_name='event',
name='event_type',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='contour.EventType'),
),
migrations.AlterField(
model_name='event',
name='venue',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='contour.Venue'),
),
migrations.AlterField(
model_name='image',
name='image',
field=filer.fields.image.FilerImageField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.FILER_IMAGE_MODEL),
),
migrations.AlterField(
model_name='loop',
name='page',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='loop', to='contour.Page'),
),
migrations.AlterField(
model_name='page',
name='parent',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='subpage', to='contour.Page'),
),
migrations.AlterField(
model_name='projectimage',
name='image',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contour.Image'),
),
migrations.AlterField(
model_name='projectimage',
name='project',
field=adminsortable.fields.SortableForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contour.Project'),
),
migrations.AlterField(
model_name='projectpad',
name='pad',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='etherpadlite.Pad'),
),
migrations.AlterField(
model_name='projectpad',
name='project',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contour.Project'),
),
migrations.AlterField(
model_name='projectparticipant',
name='participant',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contour.Participant'),
),
migrations.AlterField(
model_name='projectparticipant',
name='project',
field=adminsortable.fields.SortableForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contour.Project'),
),
]
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