mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-12 17:09:16 +01:00
em_test bugfix
added a default value for Subsection parent field
This commit is contained in:
parent
87c7e4c78e
commit
ce9e64ac8e
3 changed files with 2 additions and 0 deletions
|
|
@ -231,6 +231,8 @@ subsection.new_field( 'parent',
|
||||||
display_name = 'Parent',
|
display_name = 'Parent',
|
||||||
group = editorial_group,
|
group = editorial_group,
|
||||||
data_handler = 'link',
|
data_handler = 'link',
|
||||||
|
default = None,
|
||||||
|
nullable = True,
|
||||||
allowed_classes = [section],
|
allowed_classes = [section],
|
||||||
back_reference = ('section', 'childs'))
|
back_reference = ('section', 'childs'))
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue