summaryrefslogtreecommitdiff
path: root/tests/app_loading/not_installed/models.py
diff options
context:
space:
mode:
authordjango-bot <ops@djangoproject.com>2022-02-03 20:24:19 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-02-07 20:37:05 +0100
commit9c19aff7c7561e3a82978a272ecdaad40dda5c00 (patch)
treef0506b668a013d0063e5fba3dbf4863b466713ba /tests/app_loading/not_installed/models.py
parentf68fa8b45dfac545cfc4111d4e52804c86db68d3 (diff)
Refs #33476 -- Reformatted code with Black.
Diffstat (limited to 'tests/app_loading/not_installed/models.py')
-rw-r--r--tests/app_loading/not_installed/models.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/app_loading/not_installed/models.py b/tests/app_loading/not_installed/models.py
index 44a9d93c98..8a881a9996 100644
--- a/tests/app_loading/not_installed/models.py
+++ b/tests/app_loading/not_installed/models.py
@@ -2,22 +2,19 @@ from django.db import models
class NotInstalledModel(models.Model):
-
class Meta:
- app_label = 'not_installed'
+ app_label = "not_installed"
class RelatedModel(models.Model):
-
class Meta:
- app_label = 'not_installed'
+ app_label = "not_installed"
not_installed = models.ForeignKey(NotInstalledModel, models.CASCADE)
class M2MRelatedModel(models.Model):
-
class Meta:
- app_label = 'not_installed'
+ app_label = "not_installed"
not_installed = models.ManyToManyField(NotInstalledModel)