def get_can_use_couchdb():
 if has_module(u'storages.backends.couchdb', members=[u'CouchDBStorage']):
  return (True, None)
 else:
  return (False, _(u'CouchDB depends on django-storages, which is not installed'))

def get_can_use_couchdb ( ) : if has_module ( u'storages.backends.couchdb' , members = [ u'CouchDBStorage' ] ) : return ( True , None ) else : return ( False , _ ( u'CouchDB depends on django-storages, which is not installed' ) )
check whether django-storages is installed .