def _initialize_backends_from_django_settings():
 backends.clear()
 config = getattr(settings, 'TRACKING_BACKENDS', {})
 for (name, values) in config.iteritems():
  if values:
   engine = values['ENGINE']
   options = values.get('OPTIONS', {})
   backends[name] = _instantiate_backend_from_name(engine, options)

def _initialize_backends_from_django_settings ( ) : backends . clear ( ) config = getattr ( settings , 'TRACKING_BACKENDS' , { } ) for ( name , values ) in config . iteritems ( ) : if values : engine = values [ 'ENGINE' ] options = values . get ( 'OPTIONS' , { } ) backends [ name ] = _instantiate_backend_from_name ( engine , options )
initialize the event tracking backends according to the configuration in django settings .