Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#11382 closed (invalid)

ADMINS and MANAGERS settings

Reported by: Orman Owned by: nobody
Component: Uncategorized Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

To setup email for only 1 person in ADMINS and MANAGERS settings

ADMINS = (('John', 'john@…'), (, ))

MANAGERS = (('John', 'john@…'), (, ))

Without the second empty tuple it will not work

Change History (2)

comment:1 by Alex Gaynor, 15 years ago

Resolution: invalid
Status: newclosed

Please don't use trac for usage questions, use the django-users mailing list or the #django irc channel.

comment:2 by Karen Tracey, 15 years ago

ADMINS = (('John', 'john@example.com'),)

MANAGERS = (('John', 'john@example.com'),) 

works. The need for the trailing comma in a single-element tuple is standard Python.

Note: See TracTickets for help on using tickets.
Back to Top