From 86804ab063cb9666b69638372abfe4174a2472b2 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Wed, 18 Dec 2013 14:49:29 +0100 Subject: Terminated AppCache._populate() with extreme prejudice. It was called _populate() before I renamed it to populate(). Since it has been superseded by populate_models() there's no reason to keep it. Removed the can_postpone argument of load_app() as it was only used by populate(). It's a private API and there's no replacement. Simplified load_app() accordingly. Then new version behaves exactly like the old one even though it's much shorter. --- django/core/serializers/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/core/serializers/python.py') diff --git a/django/core/serializers/python.py b/django/core/serializers/python.py index 13d6f01a4e..1e4c37e2ae 100644 --- a/django/core/serializers/python.py +++ b/django/core/serializers/python.py @@ -88,7 +88,7 @@ def Deserializer(object_list, **options): db = options.pop('using', DEFAULT_DB_ALIAS) ignore = options.pop('ignorenonexistent', False) - app_cache.populate() + app_cache.populate_models() for d in object_list: # Look up the model and starting build a dict of data for it. -- cgit v1.3