From c2e70f02653519db3a49cd48f5158ccad7434d25 Mon Sep 17 00:00:00 2001 From: Flavio Curella Date: Wed, 22 Jul 2015 09:43:21 -0500 Subject: Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField --- tests/app_loading/not_installed/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/app_loading') diff --git a/tests/app_loading/not_installed/models.py b/tests/app_loading/not_installed/models.py index 09cf2ac6ed..44a9d93c98 100644 --- a/tests/app_loading/not_installed/models.py +++ b/tests/app_loading/not_installed/models.py @@ -12,7 +12,7 @@ class RelatedModel(models.Model): class Meta: app_label = 'not_installed' - not_installed = models.ForeignKey(NotInstalledModel) + not_installed = models.ForeignKey(NotInstalledModel, models.CASCADE) class M2MRelatedModel(models.Model): -- cgit v1.3