Ticket #14824: 14824-patch.diff
File 14824-patch.diff, 576 bytes (added by , 14 years ago) |
---|
-
trunk/django/utils/formats.py
17 17 """ 18 18 Does the heavy lifting of finding format modules. 19 19 """ 20 if check_for_language(lang) or settings.USE_L10N:20 if settings.USE_L10N and check_for_language(lang): 21 21 format_locations = ['django.conf.locale.%s'] 22 22 if settings.FORMAT_MODULE_PATH: 23 23 format_locations.append(settings.FORMAT_MODULE_PATH + '.%s')