Skip to content

Commit

Permalink
Fix for Django 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nshafer committed Dec 10, 2017
1 parent a3a1d38 commit 954ba5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/library/migrations/0002_auto_20170221_1833.py
Expand Up @@ -22,7 +22,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='book',
name='author',
field=models.ForeignKey(to='library.Author', blank=True, null=True, related_name='books'),
field=models.ForeignKey(to='library.Author', on_delete=models.CASCADE, blank=True, null=True, related_name='books'),
),
migrations.AddField(
model_name='book',
Expand Down

0 comments on commit 954ba5f

Please sign in to comment.