Fixes.
[wolnelektury.git] / src / isbn / migrations / 0001_initial.py
index c4c09ad..b3c9aec 100644 (file)
@@ -1,7 +1,5 @@
-# -*- coding: utf-8 -*-
-from __future__ import unicode_literals
-
 from django.db import migrations, models
 from django.db import migrations, models
+import django.db.models.deletion
 import jsonfield.fields
 
 
 import jsonfield.fields
 
 
@@ -38,7 +36,7 @@ class Migration(migrations.Migration):
                 ('language', models.CharField(max_length=4)),
                 ('imprint', models.CharField(max_length=256)),
                 ('publishing_date', models.DateField()),
                 ('language', models.CharField(max_length=4)),
                 ('imprint', models.CharField(max_length=256)),
                 ('publishing_date', models.DateField()),
-                ('isbn_pool', models.ForeignKey(to='isbn.ISBNPool')),
+                ('isbn_pool', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='isbn.ISBNPool')),
             ],
         ),
     ]
             ],
         ),
     ]