feat: refactor forms/grids/views/templates per wuttaweb compat
this starts to get things more aligned between wuttaweb and tailbone. the use case in mind so far is for a wuttaweb view to be included in a tailbone app. form and grid classes now have some new methods to match wuttaweb, so templates call the shared method names where possible. templates can no longer assume they have tailbone-native master view, form, grid etc. so must inspect context more closely in some cases.
This commit is contained in:
parent
b53479f8e4
commit
a6ce5eb21d
39 changed files with 1037 additions and 300 deletions
12
tests/test_config.py
Normal file
12
tests/test_config.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
# -*- coding: utf-8; -*-
|
||||
|
||||
from tailbone import config as mod
|
||||
from tests.util import DataTestCase
|
||||
|
||||
|
||||
class TestConfigExtension(DataTestCase):
|
||||
|
||||
def test_basic(self):
|
||||
# sanity / coverage check
|
||||
ext = mod.ConfigExtension()
|
||||
ext.configure(self.config)
|
Loading…
Add table
Add a link
Reference in a new issue