Tweak essentials views, per tailbone changes
project views are now included by default
This commit is contained in:
parent
c22a055c41
commit
33089b54fd
|
@ -24,14 +24,17 @@
|
||||||
Essential views for convenient includes
|
Essential views for convenient includes
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
from tailbone.views import essentials as base
|
||||||
|
|
||||||
|
|
||||||
def defaults(config, **kwargs):
|
def defaults(config, **kwargs):
|
||||||
mod = lambda spec: kwargs.get(spec, spec)
|
mod = lambda spec: kwargs.get(spec, spec)
|
||||||
|
|
||||||
# core views
|
# tailbone essentials
|
||||||
config.include(mod('tailbone.views.essentials'))
|
base.defaults(config, **kwargs)
|
||||||
|
|
||||||
|
# tailbone extras
|
||||||
config.include(mod('tailbone.views.poser'))
|
config.include(mod('tailbone.views.poser'))
|
||||||
config.include(mod('tailbone.views.projects'))
|
|
||||||
|
|
||||||
# main views for CORE-POS
|
# main views for CORE-POS
|
||||||
config.include(mod('tailbone_corepos.views'))
|
config.include(mod('tailbone_corepos.views'))
|
||||||
|
|
Loading…
Reference in a new issue