X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/56145861cf5fa01c5fbb429d40242e0a16189ed1..702fb2526face0e696facae2fe725495bfad1274:/src/toolbar/migrations/0001_initial.py diff --git a/src/toolbar/migrations/0001_initial.py b/src/toolbar/migrations/0001_initial.py index e3a24044..184436d0 100644 --- a/src/toolbar/migrations/0001_initial.py +++ b/src/toolbar/migrations/0001_initial.py @@ -1,6 +1,6 @@ -# -*- coding: utf-8 -*- -from __future__ import unicode_literals - +# This file is part of FNP-Redakcja, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# from django.db import models, migrations @@ -62,7 +62,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='button', name='scriptlet', - field=models.ForeignKey(blank=True, to='toolbar.Scriptlet', null=True), + field=models.ForeignKey(blank=True, to='toolbar.Scriptlet', null=True, on_delete=models.CASCADE), preserve_default=True, ), ]