layerindex-web/rrs/migrations/0016_rmh_layerbranch_nonnull.py
Paul Eggleton fdc8209b29 rrs: make changes to support Django 2.2
Removed obsolete references to django.core.urlresolvers. Added the
newly required on_delete parameters to foreign key relationships in
models.py and in all migrations.

(Amber Elliot's 2d526f9b0d served as a
reference for these changes).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
2021-10-20 10:02:58 +13:00

20 lines
467 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rrs', '0015_rmh_layerbranch_populate'),
]
operations = [
migrations.AlterField(
model_name='recipemaintainerhistory',
name='layerbranch',
field=models.ForeignKey(to='layerindex.LayerBranch', on_delete=models.CASCADE),
),
]