Remove the old pages system - #4814
Merged
Merged
Conversation
Everything is driven by the CMS now, so the legacy `pages` app is gone:
the Django app, its `PagesQuery`/`Page` GraphQL types, the demo fixture,
and the `MenuLink.page` foreign key that was its only remaining consumer.
The header query on the frontend still asked for `page { slug }`, but the
value was never read, so it is dropped from the document too.
`cms.0006_menu_menulink` no longer declares the `page` column (its `pages`
dependency could not survive the app removal), and a new migration cleans
up the leftover column and table on already migrated databases.
Co-authored-by: Marco Acierno <3382153+marcoacierno@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
marcoacierno
marked this pull request as ready for review
August 18, 2026 18:19
Contributor
|
Removes the legacy No issues found. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4814 +/- ##
==========================================
- Coverage 93.11% 93.08% -0.04%
==========================================
Files 360 356 -4
Lines 11238 11173 -65
Branches 904 902 -2
==========================================
- Hits 10464 10400 -64
+ Misses 663 662 -1
Partials 111 111 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Everything is driven by the CMS now, so the legacy
pagesapp is gone: the Django app, itsPagesQuery/PageGraphQL types, the demo fixture, and theMenuLink.pageforeign key that was its only remaining consumer.The header query on the frontend still asked for
page { slug }, but the value was never read, so it is dropped from the document too.cms.0006_menu_menulinkno longer declares thepagecolumn - itspagesdependency could not survive the app removal - and a new migration cleans up the leftover column and table on already migrated databases.Also regenerates
backend/schema.graphql, which drops thePagetype, thepages/pageroot fields andMenuLink.page.Closes #4813
Generated with Claude Code