diff options
| author | Carl Meyer <carl@oddbird.net> | 2011-04-20 17:58:37 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2011-04-20 17:58:37 +0000 |
| commit | 6bdaef26ec9cc9841b944e1d18b13185f7bbe2f5 (patch) | |
| tree | ace55105ff4d3a10a976417f119757cc9b276b4e /tests/regressiontests/app_loading/not_installed | |
| parent | fda8a9a3902649fb70806f7def55851012047490 (diff) | |
Fixed #15866, #15850 -- Prevented get_model() and get_models() from returning not-installed models (by default). Thanks adsva for report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/app_loading/not_installed')
| -rw-r--r-- | tests/regressiontests/app_loading/not_installed/__init__.py | 0 | ||||
| -rw-r--r-- | tests/regressiontests/app_loading/not_installed/models.py | 5 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/regressiontests/app_loading/not_installed/__init__.py b/tests/regressiontests/app_loading/not_installed/__init__.py new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tests/regressiontests/app_loading/not_installed/__init__.py diff --git a/tests/regressiontests/app_loading/not_installed/models.py b/tests/regressiontests/app_loading/not_installed/models.py new file mode 100644 index 0000000000..615feefddb --- /dev/null +++ b/tests/regressiontests/app_loading/not_installed/models.py @@ -0,0 +1,5 @@ +from django.db import models + + +class NotInstalledModel(models.Model): + pass |
