Uses a SortedDict for memoization of staticfiles finder instances to preserve order during tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
aaa76ca1b3
commit
9e81e18929
|
@ -11,7 +11,7 @@ from django.utils._os import safe_join
|
|||
from django.contrib.staticfiles import utils
|
||||
from django.contrib.staticfiles.storage import AppStaticStorage
|
||||
|
||||
_finders = {}
|
||||
_finders = SortedDict()
|
||||
|
||||
|
||||
class BaseFinder(object):
|
||||
|
|
Loading…
Reference in New Issue