Ticket #9927: js_catalog_locale_can_be_in_project_root

File js_catalog_locale_can_be_in_project_root, 546 bytes (added by dnordberg@…, 16 years ago)

simple fix, removes one line

Line 
1diff --git a/django/views/i18n.py b/django/views/i18n.py
2index e141c1d..13a5e6c 100644
3--- a/django/views/i18n.py
4+++ b/django/views/i18n.py
5@@ -121,7 +121,6 @@ def javascript_catalog(request, domain='djangojs', packages=None):
6 packages = ['django.conf']
7 if type(packages) in (str, unicode):
8 packages = packages.split('+')
9- packages = [p for p in packages if p == 'django.conf' or p in settings.INSTALLED_APPS]
10 default_locale = to_locale(settings.LANGUAGE_CODE)
11 locale = to_locale(get_language())
12 t = {}
Back to Top