Add link between corporation and its parent

This commit is contained in:
Claude Paroz 2016-01-18 12:31:32 +01:00
parent d45742d88f
commit 73e3680da0
3 changed files with 22 additions and 2 deletions

View file

@ -0,0 +1,19 @@
# Generated by Django 1.9.1 on 2016-01-18 12:23
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('stages', '0005_extended_contact_email'),
]
operations = [
migrations.AddField(
model_name='corporation',
name='parent',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL,
to='stages.Corporation', verbose_name='Institution mère'),
),
]