X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/56145861cf5fa01c5fbb429d40242e0a16189ed1..c30cd74f1f4dcf0bfbabb0e5a739bcdf236b4946:/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, ), ]