parent
dbfe88610a
commit
70046b5104
14 changed files with 357 additions and 40 deletions
29
ccdb/locations/migrations/0005_set_labels.py
Normal file
29
ccdb/locations/migrations/0005_set_labels.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('locations', '0004_DATA_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='site',
|
||||
name='region',
|
||||
field=models.ForeignKey(blank=True, related_name='sites', null=True, to='locations.Region'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='studylocation',
|
||||
name='municipal_location',
|
||||
field=models.ForeignKey(blank=True, related_name='study_locations', null=True, to='locations.MunicipalLocation'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='studylocation',
|
||||
name='site',
|
||||
field=models.ForeignKey(related_name='study_locations', to='locations.Site'),
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue