Commit d627043
committed
fix: move telepath ObjectId adapter registration to AppConfig.ready()
wagtail_hooks.py was never discovered because Wagtail scans using
app_config.name (inherited from Wagtail base classes), not the project
package name. AppConfig.ready() is the correct Django hook.1 parent ae88d3b commit d627043
2 files changed
Lines changed: 17 additions & 12 deletions
File tree
- src/dbx_python_cli/templates/project_template/project_name
- settings/apps
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
41 | 58 | | |
42 | 59 | | |
43 | 60 | | |
| |||
Lines changed: 0 additions & 12 deletions
This file was deleted.
0 commit comments