mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
13
tests/app_loading/not_installed/models.py
Normal file
13
tests/app_loading/not_installed/models.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class NotInstalledModel(models.Model):
|
||||
pass
|
||||
|
||||
|
||||
class RelatedModel(models.Model):
|
||||
not_installed = models.ForeignKey(NotInstalledModel)
|
||||
|
||||
|
||||
class M2MRelatedModel(models.Model):
|
||||
not_installed = models.ManyToManyField(NotInstalledModel)
|
||||
Reference in New Issue
Block a user