Commit a655534
committed
fix: remove home app from Wagtail template to resolve InvalidBasesError
The home app (HomePage extending wagtail.models.Page) caused a Django
InvalidBasesError during migrate because the home app used syncdb while
wagtailcore participates in the migration framework. Removing the app
avoids the conflict; the initial Wagtail root/home pages are now created
using plain Page instances. The base Django HomeView is unaffected.1 parent 74b3d45 commit a655534
5 files changed
Lines changed: 1 addition & 28 deletions
File tree
- src/dbx_python_cli
- commands
- templates/project_template/project_name
- home
- settings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
939 | 939 | | |
940 | 940 | | |
941 | 941 | | |
942 | | - | |
943 | 942 | | |
944 | 943 | | |
945 | 944 | | |
| |||
949 | 948 | | |
950 | 949 | | |
951 | 950 | | |
952 | | - | |
953 | 951 | | |
954 | 952 | | |
955 | 953 | | |
956 | | - | |
957 | 954 | | |
958 | | - | |
| 955 | + | |
959 | 956 | | |
960 | 957 | | |
961 | 958 | | |
| |||
Whitespace-only changes.
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 53 | | |
0 commit comments