mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
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
This commit is contained in:
@@ -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'] = {}
|
||||
|
||||
"""}
|
||||
|
||||
Reference in New Issue
Block a user