Skip to content

Commit

Permalink
Merge pull request #36 from jopesy/master
Browse files Browse the repository at this point in the history
Add on_delete args to CMS plugin migration for Django 2 support
  • Loading branch information
suutari-ai authored Jul 9, 2019
2 parents 725811b + 9b032e0 commit 5ab4318
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ class Migration(migrations.Migration):
primary_key=True,
to='cms.CMSPlugin',
parent_link=True,
on_delete=models.CASCADE,
**field_kwargs)),
('form_definition',
models.ForeignKey(
verbose_name='form',
to='form_designer.FormDefinition')),
to='form_designer.FormDefinition',
on_delete=models.CASCADE)),
],
options={
'abstract': False,
Expand Down

0 comments on commit 5ab4318

Please sign in to comment.