mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #30604 -- Made mail_admins()/mail_managers() raise ValueError if ADMINS/MANAGERS is set incorrectly.
This commit is contained in:
parent
29240a9952
commit
090ca6512f
3 changed files with 22 additions and 1 deletions
|
@ -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):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue