Rum Admin Interface

easy_install tgrum

from tgrum import RumAlchemyController
from tg import config

# Create a prediacte to protect the RumAlchemy admin
is_manager = predicates.has_permission(
    msg=_('Only for people with the "manage" permission')

And change the admin to:

class RootController(BaseController):
    admin = RumAlchemyController(model,

Done. Now go to admin interface and you should have rum admin interface running. You can add users, change users password, etc. tgrum_admin.png

See and for more details.

MyWiki: TurboGears2/Rum (last edited 2009-09-06 02:49:33 by localhost)