cnap-cobre/synapse

View on GitHub
backend/global/settings/dev.py

Summary

Maintainability
A
0 mins
Test Coverage
from .base import *
 
DEBUG = True
INSTALLED_APPS = ['debug_toolbar'] + INSTALLED_APPS
MIDDLEWARE += ['debug_toolbar.middleware.DebugToolbarMiddleware']
INTERNAL_IPS = ['localhost', '127.0.0.1', '172.18.0.1', '172.18.0.3']
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
 
 
def show_toolbar(request):
return True
 
Expected 2 blank lines after class or function definition, found 1
DEBUG_TOOLBAR_CONFIG = {
"SHOW_TOOLBAR_CALLBACK": show_toolbar,
}
 
ALLOWED_HOSTS += ['localhost']
CSRF_TRUSTED_ORIGINS += ['localhost']