cubicweb/server/__init__.py
changeset 11998 cd09178c80a8
parent 11983 5de78b6fff2e
child 12022 f1abf449148e
equal deleted inserted replaced
11996:b8ebd8724a37 11998:cd09178c80a8
   204     return user
   204     return user
   205 
   205 
   206 
   206 
   207 def init_repository(config, interactive=True, drop=False, vreg=None,
   207 def init_repository(config, interactive=True, drop=False, vreg=None,
   208                     init_config=None):
   208                     init_config=None):
   209     """initialise a repository database by creating tables add filling them
   209     """Initialise a repository database by creating tables and filling them
   210     with the minimal set of entities (ie at least the schema, base groups and
   210     with the minimal set of entities (ie at least the schema, base groups and
   211     a initial user)
   211     a initial user)
   212     """
   212     """
   213     from cubicweb.repoapi import get_repository, connect
   213     from cubicweb.repoapi import get_repository, connect
   214     from cubicweb.server.repository import Repository
   214     from cubicweb.server.repository import Repository