Merge pull request #3139 from stevepiercy/1.9-branch
update zodb wiki files to synch with its cookiecutter
| | |
| | | frontpage.__name__ = 'FrontPage' |
| | | frontpage.__parent__ = app_root |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |
| | |
| | | if 'app_root' not in zodb_root: |
| | | app_root = MyModel() |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |
| | |
| | | if 'app_root' not in zodb_root: |
| | | app_root = MyModel() |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |
| | |
| | | frontpage.__name__ = 'FrontPage' |
| | | frontpage.__parent__ = app_root |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |
| | |
| | | frontpage.__name__ = 'FrontPage' |
| | | frontpage.__parent__ = app_root |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |
| | |
| | | frontpage.__name__ = 'FrontPage' |
| | | frontpage.__parent__ = app_root |
| | | zodb_root['app_root'] = app_root |
| | | import transaction |
| | | transaction.commit() |
| | | return zodb_root['app_root'] |