pecan/scaffolds/base/+package+/model/__init__.py
raw| 1 | from pecan import conf # noqa |
| 2 | |
| 3 | |
| 4 | def init_model(): |
| 5 | """ |
| 6 | This is a stub method which is called at application startup time. |
| 7 | |
| 8 | If you need to bind to a parsed database configuration, set up tables or |
| 9 | ORM classes, or perform any database initialization, this is the |
| 10 | recommended place to do it. |
| 11 | |
| 12 | For more information working with databases, and some common recipes, |
| 13 | see https://pecan.readthedocs.io/en/latest/databases.html |
| 14 | """ |
| 15 | pass |