diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-22 06:01:23 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2009-12-22 06:01:23 +0000 |
| commit | 3d00992d9fefdcdc3bbc3fc85c1a409350391e5c (patch) | |
| tree | 7a4a27587efc46830a6ab1a621e297482ea5c9fd /tests/modeltests | |
| parent | 15f42cc92a865dd0f3a39e73e9ffdd6262bde7dd (diff) | |
Fixed #11936 -- Removed deferred models from the list returned by the app_cache. Thanks to ryszard for the report, and clamothe for the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/modeltests')
| -rw-r--r-- | tests/modeltests/defer/models.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/modeltests/defer/models.py b/tests/modeltests/defer/models.py index 96eb427811..ac3c876a57 100644 --- a/tests/modeltests/defer/models.py +++ b/tests/modeltests/defer/models.py @@ -183,10 +183,4 @@ u"bar" >>> obj.name = "bb" >>> obj.save() -# Finally, we need to flush the app cache for the defer module. -# Using only/defer creates some artifical entries in the app cache -# that messes up later tests. Purge all entries, just to be sure. ->>> from django.db.models.loading import cache ->>> cache.app_models['defer'] = {} - """} |
