Ticket #8654: 8654.patch

File 8654.patch, 761 bytes (added by buriy, 7 years ago)

One-line fix

  • django/utils/translation/__init__.py

    diff --git a/django/utils/translation/__init__.py b/django/utils/translation/__init__.py
    index 43ce3e5..c0a0df9 100644
    a b __all__ = ['gettext', 'gettext_noop', 'gettext_lazy', 'ngettext', 
    88        'ngettext_lazy', 'string_concat', 'activate', 'deactivate',
    99        'get_language', 'get_language_bidi', 'get_date_formats',
    1010        'get_partial_date_formats', 'check_for_language', 'to_locale',
    11         'get_language_from_request', 'templatize', 'ugettext',
     11        'get_language_from_request', 'templatize', 'ugettext', 'ugettext_lazy',
    1212        'ungettext', 'deactivate_all']
    1313
    1414# Here be dragons, so a short explanation of the logic won't hurt:
Back to Top