Ticket #9927: js_catalog_locale_can_be_in_project_root.diff

File js_catalog_locale_can_be_in_project_root.diff, 896 bytes (added by anon, 16 years ago)

second try

  • AUTHORS

    diff --git a/AUTHORS b/AUTHORS
    index 077c91a..d3a437a 100644
    a b answer newbie questions, and generally made Django that much better:  
    435435    Mykola Zamkovoi <nickzam@gmail.com>
    436436    Jarek Zgoda <jarek.zgoda@gmail.com>
    437437    Cheng Zhang
     438    Daniel Nordberg <dnordberg@gmail.com>
    438439
    439440A big THANK YOU goes to:
    440441
  • django/views/i18n.py

    diff --git a/django/views/i18n.py b/django/views/i18n.py
    index e141c1d..13a5e6c 100644
    a b def javascript_catalog(request, domain='djangojs', packages=None):  
    121121        packages = ['django.conf']
    122122    if type(packages) in (str, unicode):
    123123        packages = packages.split('+')
    124     packages = [p for p in packages if p == 'django.conf' or p in settings.INSTALLED_APPS]
    125124    default_locale = to_locale(settings.LANGUAGE_CODE)
    126125    locale = to_locale(get_language())
    127126    t = {}
Back to Top