Override deform template for checkbox field; fix label behavior
This commit is contained in:
parent
0d144ff58b
commit
63e336d4bb
4 changed files with 17 additions and 1 deletions
|
@ -129,6 +129,7 @@ def make_pyramid_config(settings):
|
|||
if config:
|
||||
config.set_root_factory(Root)
|
||||
else:
|
||||
settings.setdefault('pyramid_deform.template_search_path', 'tailbone:templates/deform')
|
||||
config = Configurator(settings=settings, root_factory=Root)
|
||||
|
||||
# configure user authorization / authentication
|
||||
|
@ -140,6 +141,7 @@ def make_pyramid_config(settings):
|
|||
|
||||
# Bring in some Pyramid goodies.
|
||||
config.include('tailbone.beaker')
|
||||
config.include('pyramid_deform')
|
||||
config.include('pyramid_mako')
|
||||
config.include('pyramid_tm')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue