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
|
config = self.rattail_config
|
||||||
if config:
|
if config:
|
||||||
self.enum = config.get_enum()
|
self.enum = config.get_enum()
|
||||||
|
self.model = config.get_model()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def rattail_config(self):
|
def rattail_config(self):
|
||||||
|
|
Loading…
Reference in a new issue