Code

Opened 5 years ago

Closed 5 years ago

Last modified 5 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: UI/UX:

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

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

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

comment:2 Changed 5 years ago by kmtracey

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.