File diff a00fc7845e3c → 2f43a3b9e668
pinaxcon/settings.py
Show inline comments
...
 
@@ -259,33 +259,38 @@ LOGGING = {
 
            'level': 'ERROR',
 
            'filters': ['require_debug_false'],
 
            'class': 'django.utils.log.AdminEmailHandler',
 
            'include_html': True,
 
        }
 
    },
 
    'loggers': {
 
        'django.request': {
 
            'handlers': ['mail_admins'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
        'symposion.request': {
 
            'handlers': ['mail_admins'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
        'apps': { # I keep all my of apps under 'apps' folder, but you can also add them one by one, and this depends on how your virtualenv/paths are set
 
            'handlers': ['log_file'],
 
            'level': 'DEBUG',
 
            'propagate': True,
 
        },
 
    },
 
    # you can also shortcut 'loggers' and just configure logging for EVERYTHING at once
 
    'root': {
 
        'handlers': ['console', 'mail_admins'],
 
        'handlers': ['console', 'log_file'], #'mail_admins'],
 
        'level': 'DEBUG'
 
    },
 
}
 
FIXTURE_DIRS = [
 
    os.path.join(PROJECT_ROOT, "fixtures"),
 
]
 

	
 
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
 

	
 
ACCOUNT_OPEN_SIGNUP = True
 
ACCOUNT_EMAIL_UNIQUE = True
 
ACCOUNT_EMAIL_CONFIRMATION_REQUIRED = False