Set self.model when constructing new View

This commit is contained in:
Lance Edgar 2021-01-20 20:29:07 -06:00
parent f480c046f6
commit 59167278d4

View file

@ -68,6 +68,7 @@ class View(object):
config = self.rattail_config
if config:
self.enum = config.get_enum()
self.model = config.get_model()
@property
def rattail_config(self):