You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To avoid having to do things like this when testing the pageblock:
# Set the check-in block's setting block to the one we just# created.goalcheckinblock.goal_setting_block=goalsettingblockgoalcheckinblock.save()
assert(goalcheckinblock.goal_setting_blockisnotNone)
The text was updated successfully, but these errors were encountered:
This allows you to pass a pageblock instance to
`add_pageblock_from_dict`, as well as a dictionary.
For a complex custom pageblock, it can be simplest to initialize it
on its own with a factory, and then pass it into a call to
`add_child_section_from_dict`, similar to here:
http://django-pagetree.readthedocs.org/en/latest/testing.html
referencing issue #92
This allows you to pass a pageblock instance to
`add_pageblock_from_dict`, as well as a dictionary.
For a complex custom pageblock, it can be simplest to initialize it
on its own with a factory, and then pass it into a call to
`add_child_section_from_dict`, similar to here:
http://django-pagetree.readthedocs.org/en/latest/testing.html
referencing issue #92
This allows you to pass a pageblock instance to
`add_pageblock_from_dict`, as well as a dictionary.
For a complex custom pageblock, it can be simplest to initialize it
on its own with a factory, and then pass it into a call to
`add_child_section_from_dict`, similar to here:
http://django-pagetree.readthedocs.org/en/latest/testing.html
referencing issue #92
To avoid having to do things like this when testing the pageblock:
The text was updated successfully, but these errors were encountered: