def _update_configuration_context(context, configuration):
 config_key = configuration_helpers.get_value('domain_prefix')
 config = configuration.get('microsites', {})
 if (config_key and config):
  context.update(config.get(config_key, {}))

def _update_configuration_context ( context , configuration ) : config_key = configuration_helpers . get_value ( 'domain_prefix' ) config = configuration . get ( 'microsites' , { } ) if ( config_key and config ) : context . update ( config . get ( config_key , { } ) )
site configuration will need to be able to override any hard coded content that was put into the context in the _update_certificate_context() call above .