diff --git a/tailbone/views/brands.py b/tailbone/views/brands.py index b73060a3..92c6a41b 100644 --- a/tailbone/views/brands.py +++ b/tailbone/views/brands.py @@ -2,7 +2,7 @@ ################################################################################ # # Rattail -- Retail Software Framework -# Copyright © 2010-2021 Lance Edgar +# Copyright © 2010-2022 Lance Edgar # # This file is part of Rattail. # @@ -135,5 +135,12 @@ class BrandView(MasterView): self.Session.delete(removing) -def includeme(config): +def defaults(config, **kwargs): + base = globals() + + BrandView = kwargs.get('BrandView', base['BrandView']) BrandView.defaults(config) + + +def includeme(config): + defaults(config)