Tweak project/essentials view config per upstream changes
This commit is contained in:
parent
3fb08869e0
commit
97db13a19f
|
@ -73,8 +73,8 @@ class DemoMenuHandler(base.MenuHandler):
|
|||
{'type': 'sep'},
|
||||
{
|
||||
'title': "Generate New Project",
|
||||
'route': 'generate_project',
|
||||
'perm': 'common.generate_project',
|
||||
'route': 'generated_projects.create',
|
||||
'perm': 'generated_projects.create',
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
|
@ -3,19 +3,21 @@
|
|||
Web views
|
||||
"""
|
||||
|
||||
from tailbone.views import essentials
|
||||
|
||||
|
||||
def includeme(config):
|
||||
|
||||
# essential views
|
||||
from tailbone.views.essentials import defaults as essentials
|
||||
essentials(config, **{
|
||||
# overrides
|
||||
# tailbone essentials
|
||||
essentials.defaults(config, **{
|
||||
'tailbone.views.upgrades': 'rattail_demo.web.views.upgrades',
|
||||
})
|
||||
|
||||
# main table views
|
||||
config.include('tailbone.views.brands')
|
||||
config.include('tailbone.views.categories')
|
||||
config.include('tailbone.views.customers')
|
||||
config.include('tailbone.views.customergroups')
|
||||
config.include('tailbone.views.departments')
|
||||
config.include('tailbone.views.employees')
|
||||
config.include('tailbone.views.families')
|
||||
|
@ -49,9 +51,7 @@ def includeme(config):
|
|||
config.include('tailbone.views.batch.handheld')
|
||||
config.include('tailbone.views.batch.inventory')
|
||||
config.include('tailbone.views.batch.importer')
|
||||
config.include('tailbone.views.batch.vendorcatalog')
|
||||
|
||||
# trainwreck
|
||||
config.include('tailbone.views.trainwreck.defaults')
|
||||
|
||||
# generate new project
|
||||
config.include('tailbone.views.projects')
|
||||
|
|
Loading…
Reference in a new issue