Tweak essentials views, per tailbone changes

project views are now included by default
This commit is contained in:
Lance Edgar 2023-05-05 10:43:51 -05:00
parent c22a055c41
commit 33089b54fd

View file

@ -24,14 +24,17 @@
Essential views for convenient includes
"""
from tailbone.views import essentials as base
def defaults(config, **kwargs):
mod = lambda spec: kwargs.get(spec, spec)
# core views
config.include(mod('tailbone.views.essentials'))
# tailbone essentials
base.defaults(config, **kwargs)
# tailbone extras
config.include(mod('tailbone.views.poser'))
config.include(mod('tailbone.views.projects'))
# main views for CORE-POS
config.include(mod('tailbone_corepos.views'))