1 | Index: views/i18n.py
|
---|
2 | ===================================================================
|
---|
3 | --- views/i18n.py (revision 7174)
|
---|
4 | +++ views/i18n.py (working copy)
|
---|
5 | @@ -111,6 +111,7 @@
|
---|
6 | if type(packages) in (str, unicode):
|
---|
7 | packages = packages.split('+')
|
---|
8 | packages = [p for p in packages if p == 'django.conf' or p in settings.INSTALLED_APPS]
|
---|
9 | + if settings.MEDIA_ROOT: packages.append(settings.MEDIA_ROOT)
|
---|
10 | default_locale = to_locale(settings.LANGUAGE_CODE)
|
---|
11 | locale = to_locale(get_language())
|
---|
12 | t = {}
|
---|