1
0
Fork 0
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:
Yann 2016-11-17 15:12:12 +01:00
commit ce9e64ac8e
3 changed files with 2 additions and 0 deletions

View file

@ -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.