mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00

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>
20 lines
469 B
Python
20 lines
469 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('rrs', '0011_release_name_unique'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='recipeupstreamhistory',
|
|
name='layerbranch',
|
|
field=models.ForeignKey(null=True, to='layerindex.LayerBranch', on_delete=models.CASCADE),
|
|
),
|
|
]
|