mirror of
https://github.com/django/django.git
synced 2025-09-13 22:16:28 +00:00
Fixed imports per isort 4.3.0.
This commit is contained in:
parent
9cd313fc2e
commit
9bcf73d788
17 changed files with 14 additions and 29 deletions
|
@ -534,9 +534,10 @@ class ReverseLazySettingsTest(AdminScriptTestCase):
|
|||
import error.
|
||||
"""
|
||||
def setUp(self):
|
||||
self.write_settings('settings.py', extra="""
|
||||
from django.urls import reverse_lazy
|
||||
LOGIN_URL = reverse_lazy('login')""")
|
||||
self.write_settings(
|
||||
'settings.py',
|
||||
extra="from django.urls import reverse_lazy\nLOGIN_URL = reverse_lazy('login')",
|
||||
)
|
||||
|
||||
def tearDown(self):
|
||||
self.remove_settings('settings.py')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue