Introducing attachments fixes for blog posts and assets.
Requires migration of attachments schema using python manage.py maintenance upgrade_attachment_schema --all
This commit is contained in:
@@ -23,6 +23,14 @@ _attachments_embedded_schema = {
|
||||
'type': 'objectid',
|
||||
'required': True,
|
||||
},
|
||||
'link': {
|
||||
'type': 'string',
|
||||
'allowed': ['self', 'none', 'custom'],
|
||||
'default': 'self',
|
||||
},
|
||||
'link_custom': {
|
||||
'type': 'string',
|
||||
},
|
||||
'collection': {
|
||||
'type': 'string',
|
||||
'allowed': ['files'],
|
||||
|
Reference in New Issue
Block a user