natural key for placeholder and plugin updated
This commit is contained in:
parent
87fedf536c
commit
35cad67c87
|
@ -21,10 +21,10 @@ def title_natural_key(self):
|
|||
return (self.path, )
|
||||
|
||||
def placeholder_natural_key(self):
|
||||
return (self.slot, self.page.natural_key())
|
||||
return self.page.natural_key() + (self.slot, )
|
||||
|
||||
def plugin_natural_key(self):
|
||||
return (self.plugin_type, self.position, self.placeholder.natural_key())
|
||||
return self.placeholder.natural_key() + (self.plugin_type, self.position)
|
||||
|
||||
Page.natural_key = page_natural_key
|
||||
Title.natural_key = title_natural_key
|
||||
|
|
Reference in New Issue