2017-06-22 02:35:41 -05:00
|
|
|
# -*- coding: utf-8; -*-
|
2016-08-17 16:52:36 -05:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Rattail -- Retail Software Framework
|
2023-09-10 13:51:11 -05:00
|
|
|
# Copyright © 2010-2023 Lance Edgar
|
2016-08-17 16:52:36 -05:00
|
|
|
#
|
|
|
|
# This file is part of Rattail.
|
|
|
|
#
|
|
|
|
# Rattail is free software: you can redistribute it and/or modify it under the
|
2017-07-06 23:47:56 -05:00
|
|
|
# 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.
|
2016-08-17 16:52:36 -05:00
|
|
|
#
|
|
|
|
# Rattail is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
2017-07-06 23:47:56 -05:00
|
|
|
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
|
|
# details.
|
2016-08-17 16:52:36 -05:00
|
|
|
#
|
2017-07-06 23:47:56 -05:00
|
|
|
# You should have received a copy of the GNU General Public License along with
|
|
|
|
# Rattail. If not, see <http://www.gnu.org/licenses/>.
|
2016-08-17 16:52:36 -05:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
"""
|
2022-08-13 23:23:30 -05:00
|
|
|
(DEPRECATED) Views for handheld batches
|
2016-08-17 16:52:36 -05:00
|
|
|
"""
|
|
|
|
|
2022-08-13 23:23:30 -05:00
|
|
|
import warnings
|
2016-11-19 18:09:14 -06:00
|
|
|
|
2022-08-13 23:23:30 -05:00
|
|
|
# nb. this is imported only for sake of legacy callers
|
|
|
|
from tailbone.views.batch.handheld import HandheldBatchView
|
2017-06-22 01:02:03 -05:00
|
|
|
|
2016-08-17 16:52:36 -05:00
|
|
|
|
|
|
|
def includeme(config):
|
2022-08-13 23:23:30 -05:00
|
|
|
warnings.warn("tailbone.views.handheld is a deprecated module; "
|
|
|
|
"please use tailbone.views.batch.handheld instead",
|
2023-09-10 13:51:11 -05:00
|
|
|
DeprecationWarning, stacklevel=2)
|
2022-08-13 23:23:30 -05:00
|
|
|
config.include('tailbone.views.batch.handheld')
|