Skip to content

Commit 6818de2

Browse files
committed
docs(wagtail): remove No home App section
1 parent c4abebe commit 6818de2

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

docs/design/wagtail-support.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,6 @@ Wagtail ships with its own migration files that include SQL-style assumptions in
2525
2626
Run ``manage.py makemigrations`` after configuring this to generate MongoDB-compatible migration files for each app. Django will use these in-project migrations instead of the ones bundled with Wagtail.
2727

28-
No ``home`` App
29-
---------------
30-
31-
**Decision: do not ship a custom ``HomePage`` model**
32-
33-
Early versions of the template included a ``home`` app with a ``HomePage(Page)`` model. This triggered the ``InvalidBasesError`` described above. Rather than add migration plumbing for a trivial subclass, the template was simplified: the initial Wagtail root page and home page are created as plain ``wagtail.models.Page`` instances by ``_setup_wagtail_initial_data`` at first ``dbx project run``.
34-
35-
This keeps the template lean and avoids a class of migration issues whenever Wagtail is upgraded.
3628

3729
Custom App Configurations
3830
--------------------------

0 commit comments

Comments
 (0)