core: revert to cherrypy for main webserver and use daphne only for app_gw
This commit is contained in:
		@ -122,7 +122,6 @@ CACHES = {
 | 
			
		||||
 | 
			
		||||
MIDDLEWARE = [
 | 
			
		||||
    'django.contrib.sessions.middleware.SessionMiddleware',
 | 
			
		||||
    'whitenoise.middleware.WhiteNoiseMiddleware',
 | 
			
		||||
    'django.contrib.auth.middleware.AuthenticationMiddleware',
 | 
			
		||||
    'passbook.app_gw.middleware.ApplicationGatewayMiddleware',
 | 
			
		||||
    'django.middleware.security.SecurityMiddleware',
 | 
			
		||||
@ -239,7 +238,6 @@ if not DEBUG:
 | 
			
		||||
# https://docs.djangoproject.com/en/2.1/howto/static-files/
 | 
			
		||||
 | 
			
		||||
STATIC_URL = '/static/'
 | 
			
		||||
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
 | 
			
		||||
 | 
			
		||||
with CONFIG.cd('log'):
 | 
			
		||||
    LOGGING = {
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user