le75
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

0004_teacher_department.py
text/x-python

Download raw (460 bytes)

# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('course', '0003_auto_20160607_1210'),
    ]

    operations = [
        migrations.AddField(
            model_name='teacher',
            name='department',
            field=models.ForeignKey(related_name='teacher_department', null=True, to='course.Department'),
        ),
    ]