示例#1
0
from glueplate import Glue as _

settings = _(from_child_parentpackage1='FROM_CHILD_PARENTPACKAGE1',
             GLUE_PLATE_PARENT_MODULES=[
                 'granpackage.granpackage_settings',
             ])
示例#2
0
from glueplate import Glue as _

settings = _(from_parentpackage2='FROM_PARENTPACKAGE2')
示例#3
0
from glueplate import Glue as _

settings = _(from_granpackage1='GRANPA!')
示例#4
0
from glueplate import Glue as _

settings = _(
    from_sub='comming from sub',
    to_be_override='I am sub.',
    something=_(bad='worse', food=_(egg='egg', )),
    GLUE_PLATE_PLUS_BEFORE_list1=[-3, -2, -1],
    GLUE_PLATE_PLUS_AFTER_list2=[4, 5, 6],
)
示例#5
0
from glueplate import Glue as _

settings = _(GLUE_PLATE_ENVIRONMENT_VARIABLE_KEY='BASEPACKAGE_SETTINGS_MODULE',
             from_base='comming from base',
             to_be_override='I am base.',
             something=_(good='better', food=_(spam='spam', )),
             list1=[1, 2, 3],
             list2=[1, 2, 3],
             GLUE_PLATE_PARENT_MODULES=[
                 'parentpackage1.parentpackage1_settings',
                 'parentpackage2.parentpackage2_settings'
             ])