|
a/Allura/allura/websetup/bootstrap.py |
|
b/Allura/allura/websetup/bootstrap.py |
|
... |
|
... |
62 |
h.set_context('test', neighborhood='Projects')
|
62 |
h.set_context('test', neighborhood='Projects')
|
63 |
return
|
63 |
return
|
64 |
log.info('Initializing search')
|
64 |
log.info('Initializing search')
|
65 |
|
65 |
|
66 |
log.info('Registering root user & default neighborhoods')
|
66 |
log.info('Registering root user & default neighborhoods')
|
67 |
anonymous = M.User(_id=None,
|
67 |
anonymous = M.User(
|
|
|
68 |
_id=None,
|
68 |
username='*anonymous',
|
69 |
username='*anonymous',
|
69 |
display_name='Anonymous')
|
70 |
display_name='Anonymous')
|
70 |
root = create_user('Root')
|
71 |
root = create_user('Root')
|
71 |
|
72 |
|
72 |
n_projects = M.Neighborhood(name='Projects', url_prefix='/p/')
|
73 |
n_projects = M.Neighborhood(name='Projects', url_prefix='/p/')
|
73 |
n_users = M.Neighborhood(name='Users', url_prefix='/u/',
|
74 |
n_users = M.Neighborhood(name='Users', url_prefix='/u/',
|
74 |
shortname_prefix='u/')
|
75 |
shortname_prefix='u/')
|