From 8ce0148a64373aff86620b1452265f7ef639bc44 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 6 Oct 2016 13:13:31 -0500 Subject: [PATCH] Tweak some things to make demo project more "out of the box" --- tailbone/views/__init__.py | 8 +++++++- tailbone/views/handheld.py | 5 ++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/tailbone/views/__init__.py b/tailbone/views/__init__.py index 3c155780..33605ac0 100644 --- a/tailbone/views/__init__.py +++ b/tailbone/views/__init__.py @@ -65,14 +65,20 @@ def includeme(config): config.include('tailbone.views.datasync') config.include('tailbone.views.departments') config.include('tailbone.views.depositlinks') + config.include('tailbone.views.email') config.include('tailbone.views.employees') config.include('tailbone.views.families') + config.include('tailbone.views.handheld') + config.include('tailbone.views.inventory') config.include('tailbone.views.labels') + config.include('tailbone.views.messages') config.include('tailbone.views.people') config.include('tailbone.views.products') config.include('tailbone.views.progress') - config.include(u'tailbone.views.reportcodes') + config.include('tailbone.views.reportcodes') + config.include('tailbone.views.reports') config.include('tailbone.views.roles') + config.include('tailbone.views.settings') config.include('tailbone.views.shifts') config.include('tailbone.views.stores') config.include('tailbone.views.subdepartments') diff --git a/tailbone/views/handheld.py b/tailbone/views/handheld.py index 4f1d7042..9fdaafd7 100644 --- a/tailbone/views/handheld.py +++ b/tailbone/views/handheld.py @@ -26,6 +26,8 @@ Views for handheld batches from __future__ import unicode_literals, absolute_import +from rattail import enum +from rattail.db import model from rattail.db.batch.handheld.handler import HandheldBatchHandler from rattail.util import OrderedDict @@ -36,9 +38,6 @@ from webhelpers.html import tags from tailbone import forms from tailbone.views.batch import FileBatchMasterView -from dtail import enum -from dtail.db import model - ACTION_OPTIONS = OrderedDict([ ('make_label_batch', "Make a new Label Batch"),