22 lines
579 B
Python
22 lines
579 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import organizations.shortcuts
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('organizations', '0002_add_data_default_organization'),
|
|
('sources', '0010_auto_20151001_0055'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='source',
|
|
name='organization',
|
|
field=models.ForeignKey(default=organizations.shortcuts.get_current_organization, to='organizations.Organization'),
|
|
),
|
|
]
|