Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion roundup/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ def install_demo(home, backend, template):
from roundup import init, instance, password

# set up the config for this tracker
config = configuration.CoreConfig()
template_cfg = configuration.UserConfig(template + "/config_ini.ini")
config = configuration.CoreConfig(settings={
i.name: i.get() for i in template_cfg.items()
})
config['TRACKER_HOME'] = home
config['MAIL_DOMAIN'] = 'localhost'
config['DATABASE'] = 'db'
Expand Down
3 changes: 2 additions & 1 deletion share/roundup/templates/minimal/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@

# Note: roles is a comma-separated string of Role names
user = Class(db, "user", username=String(), password=Password(),
address=String(), alternate_addresses=String(), roles=String())
address=String(), realname=String(), alternate_addresses=String(),
roles=String())
user.setkey("username")
db.security.addPermission(name='Register', klass='user',
description='User is allowed to register new user')
Expand Down