Set self.model
when constructing new View
This commit is contained in:
parent
f480c046f6
commit
59167278d4
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue