Opened 11 years ago

Closed 11 years ago

Last modified 11 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


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 Changed 11 years ago by Alex Gaynor

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 Changed 11 years ago by Karen Tracey

ADMINS = (('John', ''),)

MANAGERS = (('John', ''),) 

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