feat: add first wutta-based master, for PersonView

still opt-in-only at this point, the traditional tailbone-native
master is used by default.

new wutta master is not feature complete yet.  but at least things
seem to render and form posts work okay..

when enabled, this uses a "completely" wutta-based stack for the view,
grid and forms.  but the underlying DB is of course rattail, and the
templates are still traditional/tailbone.
This commit is contained in:
Lance Edgar 2024-08-15 16:05:53 -05:00
parent a6ce5eb21d
commit dd176a5e9e
7 changed files with 173 additions and 1 deletions

View file

@ -43,6 +43,8 @@ class WebTestCase(DataTestCase):
'tailbone.app.add_index_page')
self.pyramid_config.add_directive('add_tailbone_model_view',
'tailbone.app.add_model_view')
self.pyramid_config.add_directive('add_tailbone_config_page',
'tailbone.app.add_config_page')
self.pyramid_config.add_subscriber('tailbone.subscribers.before_render',
'pyramid.events.BeforeRender')
self.pyramid_config.include('tailbone.static')