|
@@ -1181,8 +1181,8 @@ class Content(DeclarativeBase):
|
1181
|
1181
|
else:
|
1182
|
1182
|
properties = json.loads(self._properties)
|
1183
|
1183
|
if CONTENT_TYPES.get_one_by_slug(self.type) != CONTENT_TYPES.Event:
|
1184
|
|
- if self._properties and not 'allowed_content' in self._properties:
|
1185
|
|
- properties['allowed_content'] = CONTENT_TYPES.default_allowed_content_properties(self.type)
|
|
1184
|
+ if not 'allowed_content' in properties:
|
|
1185
|
+ properties['allowed_content'] = CONTENT_TYPES.default_allowed_content_properties(self.type) # nopep8
|
1186
|
1186
|
return properties
|
1187
|
1187
|
|
1188
|
1188
|
@properties.setter
|