Skip to content

Commit

Permalink
[CHG] move ADMINS config option to environment
Browse files Browse the repository at this point in the history
  • Loading branch information
ierror committed Jun 17, 2012
1 parent 3b1e10f commit 65f9506
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion beautifulmind/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
TEMPLATE_DEBUG = DEBUG

ADMINS = (
('Boerni', 'boerni@gmail.com'),
#('Admin', 'admin@example.com'),
)

MANAGERS = ADMINS
Expand Down Expand Up @@ -196,6 +196,9 @@

SECRET_KEY = ENVIRONMENT.SECRET_KEY

if hasattr(ENVIRONMENT, 'ADMINS'):
ADMINS = ENVIRONMENT.ADMINS

# import env module
exec('from configuration._50_env_%s import *' % environment.NAME)

Expand Down

0 comments on commit 65f9506

Please sign in to comment.