Refactor all "easy" views per master4
This commit is contained in:
parent
410ee8eb65
commit
88fe195615
32 changed files with 51 additions and 52 deletions
2
tailbone/views/vendors/catalogs.py
vendored
2
tailbone/views/vendors/catalogs.py
vendored
|
@ -39,7 +39,7 @@ from webhelpers2.html import tags
|
|||
|
||||
from tailbone import forms2 as forms
|
||||
from tailbone.db import Session
|
||||
from tailbone.views.batch import FileBatchMasterView3 as FileBatchMasterView
|
||||
from tailbone.views.batch import FileBatchMasterView4 as FileBatchMasterView
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
4
tailbone/views/vendors/core.py
vendored
4
tailbone/views/vendors/core.py
vendored
|
@ -2,7 +2,7 @@
|
|||
################################################################################
|
||||
#
|
||||
# Rattail -- Retail Software Framework
|
||||
# Copyright © 2010-2017 Lance Edgar
|
||||
# Copyright © 2010-2018 Lance Edgar
|
||||
#
|
||||
# This file is part of Rattail.
|
||||
#
|
||||
|
@ -32,7 +32,7 @@ from rattail.db import model
|
|||
|
||||
from webhelpers2.html import tags
|
||||
|
||||
from tailbone.views import MasterView3 as MasterView, AutocompleteView
|
||||
from tailbone.views import MasterView4 as MasterView, AutocompleteView
|
||||
|
||||
|
||||
class VendorsView(MasterView):
|
||||
|
|
2
tailbone/views/vendors/invoices.py
vendored
2
tailbone/views/vendors/invoices.py
vendored
|
@ -33,7 +33,7 @@ from rattail.vendors.invoices import iter_invoice_parsers, require_invoice_parse
|
|||
import colander
|
||||
from deform import widget as dfwidget
|
||||
|
||||
from tailbone.views.batch import FileBatchMasterView3 as FileBatchMasterView
|
||||
from tailbone.views.batch import FileBatchMasterView4 as FileBatchMasterView
|
||||
|
||||
|
||||
class VendorInvoicesView(FileBatchMasterView):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue