mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #30604 -- Made mail_admins()/mail_managers() raise ValueError if ADMINS/MANAGERS is set incorrectly.
This commit is contained in:
committed by
Mariusz Felisiak
parent
29240a9952
commit
090ca6512f
@@ -340,7 +340,7 @@ class CommonMiddlewareTest(SimpleTestCase):
|
||||
|
||||
@override_settings(
|
||||
IGNORABLE_404_URLS=[re.compile(r'foo')],
|
||||
MANAGERS=['PHB@dilbert.com'],
|
||||
MANAGERS=[('PHD', 'PHB@dilbert.com')],
|
||||
)
|
||||
class BrokenLinkEmailsMiddlewareTest(SimpleTestCase):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user