Browse Source

Add ADMINS option for sending error reporting from Django

devel
Dmitry Novikov 8 years ago
parent
commit
94b9801115
  1. 4
      djing/settings.py

4
djing/settings.py

@ -31,6 +31,8 @@ AUTHENTICATION_BACKENDS = (
'djing.lib.auth_backends.LocationAuthBackend'
)
ADMINS = getattr(local_settings, 'ADMINS', ())
# Application definition
INSTALLED_APPS = [
@ -224,7 +226,7 @@ EMAIL_PORT = local_settings.EMAIL_PORT
EMAIL_HOST_PASSWORD = local_settings.EMAIL_HOST_PASSWORD
EMAIL_USE_TLS = getattr(local_settings, 'EMAIL_USE_TLS', True)
SERVER_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = getattr(local_settings, 'SERVER_EMAIL', EMAIL_HOST_USER)
# Inactive ip lease time in seconds.
# If lease time more than time of create, and lease is inactive

Loading…
Cancel
Save