equal
deleted
inserted
replaced
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 |