layerindex-web/rrs/migrations/0005_release_plan_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
435 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('rrs', '0004_maint_plan_default'),
]
operations = [
migrations.AlterField(
model_name='release',
name='plan',
field=models.ForeignKey(to='rrs.MaintenancePlan', on_delete=models.CASCADE),
),
]