Rapid application framework, built on Flask.
-
AttachmentHost.attach(child:Attachable)->child._attach_to(parent:AttachmentHost) - Type-checking of both
AttachmentHostandAttachablefor compatability
Provided by zbricks.themes.DefaultTheme
- Injects default templating, making use of Bootstrap / Bootswatch CDN
-
zbricks.themes.BaseTheme - Passing config data during init
- Context Preprocessor to inject config data into rendering process
- Once the above is done: Themes able to be set/configured per user
Provided by zbricks.sqla.SQLAlchemyStorage
-
zbricks.sqla.BaseandSQLAlchemy(model_base=zbricks.sqla.Base) -
Storageprotocol - ...
Provided by zbricks.auth.AuthenticationService
- Use callbacks to check data e.g.
auth = AuthenticationService(user_by_id_callback = storage.get_user_by_id) -
@zbricks.auth.requires_user() -
@zbricks.auth.requires_permission('foo'), -
@zbricks.auth.requires_role('admin'),