rattail-demo/rattail_demo/web/views/__init__.py

58 lines
1.8 KiB
Python
Raw Normal View History

# -*- coding: utf-8; -*-
2016-12-07 20:24:11 -06:00
"""
Web views
"""
def includeme(config):
2023-01-18 18:42:55 -06:00
# essential views
from tailbone.views.essentials import defaults as essentials
essentials(config, **{
# overrides
'tailbone.views.upgrades': 'rattail_demo.web.views.upgrades',
})
2016-12-07 20:24:11 -06:00
# main table views
config.include('tailbone.views.brands')
config.include('tailbone.views.customers')
config.include('tailbone.views.departments')
config.include('tailbone.views.employees')
2016-12-07 20:24:11 -06:00
config.include('tailbone.views.families')
config.include('tailbone.views.members')
2016-12-10 15:40:21 -06:00
config.include('tailbone.views.messages')
config.include('rattail_demo.web.views.products')
2016-12-07 20:24:11 -06:00
config.include('tailbone.views.reportcodes')
config.include('tailbone.views.stores')
config.include('tailbone.views.subdepartments')
config.include('tailbone.views.tempmon')
config.include('tailbone.views.vendors')
config.include('tailbone.views.uoms')
2016-12-07 20:24:11 -06:00
2020-08-20 17:56:55 -05:00
# purchasing / receiving
config.include('tailbone_corepos.views.purchases')
config.include('tailbone.views.purchases.credits')
2020-08-20 17:56:55 -05:00
config.include('tailbone.views.purchasing')
2018-11-22 11:16:59 -06:00
# core-pos views
config.include('tailbone_corepos.views')
config.include('tailbone_corepos.views.corepos')
2018-11-22 11:16:59 -06:00
# shopfoo views
config.include('rattail_demo.web.views.shopfoo')
# woocommerce views
config.include('tailbone_woocommerce.views')
config.include('tailbone_woocommerce.views.woocommerce')
2016-12-07 20:24:11 -06:00
# batch views
config.include('tailbone.views.batch.handheld')
config.include('tailbone.views.batch.inventory')
config.include('tailbone.views.batch.importer')
2021-02-18 20:20:31 -06:00
# trainwreck
config.include('tailbone.views.trainwreck.defaults')
# generate new project
config.include('tailbone.views.projects')