From b5effaa01bafb5ac1c86b0bc192a011aa9efc26d Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 5 Mar 2022 10:50:33 -0600 Subject: [PATCH] Add `tailbone.views.essentials` to include common / "core" views --- tailbone/views/essentials.py | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 tailbone/views/essentials.py diff --git a/tailbone/views/essentials.py b/tailbone/views/essentials.py new file mode 100644 index 00000000..b38749d1 --- /dev/null +++ b/tailbone/views/essentials.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8; -*- +################################################################################ +# +# Rattail -- Retail Software Framework +# Copyright © 2010-2022 Lance Edgar +# +# This file is part of Rattail. +# +# Rattail is free software: you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation, either version 3 of the License, or (at your option) any later +# version. +# +# Rattail is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# Rattail. If not, see . +# +################################################################################ +""" +Essential views for convenient includes +""" + +from __future__ import unicode_literals, absolute_import + + +def includeme(config): + config.include('tailbone.views.auth') + config.include('tailbone.views.common') + config.include('tailbone.views.email') + config.include('tailbone.views.menus') + config.include('tailbone.views.people') + config.include('tailbone.views.progress') + config.include('tailbone.views.roles') + config.include('tailbone.views.settings') + config.include('tailbone.views.tables') + config.include('tailbone.views.upgrades') + config.include('tailbone.views.users')