mirror of
https://github.com/django/django.git
synced 2025-06-12 15:09:12 +00:00
Fixed typo in django/test/utils.py.
This commit is contained in:
parent
86561844ce
commit
a564f44350
@ -572,7 +572,7 @@ class modify_settings(override_settings):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
value = list(getattr(settings, name, []))
|
value = list(getattr(settings, name, []))
|
||||||
for action, items in operations.items():
|
for action, items in operations.items():
|
||||||
# items my be a single value or an iterable.
|
# items may be a single value or an iterable.
|
||||||
if isinstance(items, str):
|
if isinstance(items, str):
|
||||||
items = [items]
|
items = [items]
|
||||||
if action == "append":
|
if action == "append":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user