mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
Fixed #32873 -- Deprecated settings.USE_L10N.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
04e023e383
commit
676bd084f2
@@ -1,5 +1,4 @@
|
||||
from django.forms import NullBooleanSelect
|
||||
from django.test import override_settings
|
||||
from django.utils import translation
|
||||
|
||||
from .base import WidgetTest
|
||||
@@ -89,7 +88,6 @@ class NullBooleanSelectTest(WidgetTest):
|
||||
</select>"""
|
||||
))
|
||||
|
||||
@override_settings(USE_L10N=True)
|
||||
def test_l10n(self):
|
||||
"""
|
||||
The NullBooleanSelect widget's options are lazily localized (#17190).
|
||||
|
||||
Reference in New Issue
Block a user