otherColumn="group_id")
def people_map():
- return dict([(u.userId, u.displayName) for u in User.select() if
- "fixbugs" in identity.current.permissions])
+ return dict((u.user_name, u.display_name) for u in User.select())
# pick the form for your database
# sqlobject.dburi="postgres://username@hostname/databasename"
# sqlobject.dburi="mysql://username:password@hostname:port/databasename"
-sqlobject.dburi="sqlite://%(package_dir)s/database.sqlite"
+# sqlobject.dburi="sqlite://%(package_dir)s/database.sqlite"
# If you have sqlite, here's a simple default to get you started
# in development
-# sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
+sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite"
# if you are using a database or table type without transactions
tg.strict_parameters = True
identity.on = True
visit.on = True
+identity.soprovider.model.user="beweb.model.User"
+identity.soprovider.model.group="beweb.model.Group"
+identity.soprovider.model.permission="beweb.model.Permission"
+
# LOGGING
# Logging configuration generally follows the style of the standard