Add link between CorpContact and Section, export according to that link
This commit is contained in:
parent
2c5bb00c8d
commit
d45742d88f
6 changed files with 65 additions and 22 deletions
20
stages/migrations/0004_corpcontact_sections.py
Normal file
20
stages/migrations/0004_corpcontact_sections.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.1 on 2016-01-15 18:24
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('stages', '0003_add_corp_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='corpcontact',
|
||||
name='sections',
|
||||
field=models.ManyToManyField(blank=True, to='stages.Section'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue