def get_channel_layer(alias=u'default'):
 if (django.VERSION[1] > 9):
  django.setup(set_prefix=False)
 else:
  django.setup()
 return channel_layers[alias].channel_layer

def get_channel_layer ( alias = u'default' ) : if ( django . VERSION [ 1 ] > 9 ) : django . setup ( set_prefix = False ) else : django . setup ( ) return channel_layers [ alias ] . channel_layer
returns the raw asgi channel layer for this project .