Add ingredients entries to demo data and associated them to bread page#622
Open
Raghaddahi wants to merge 2 commits intowagtail:mainfrom
Open
Add ingredients entries to demo data and associated them to bread page#622Raghaddahi wants to merge 2 commits intowagtail:mainfrom
Raghaddahi wants to merge 2 commits intowagtail:mainfrom
Conversation
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.
…, fixes #564
Changes
BreadIngredientobjects to the fixturebakerydemo/base/fixtures/bakerydemo.jsonwith the new databakerydemo/breads/templates/breads/bread_page.html:<h4>Ingredients</h4>changed to<p class="bread-detail__meta-title">to match Origin and Type labelsTesting
Ran
./manage.py load_initial_dataand verified that each bread page displays ingredients correctly. Confirmed no accessibility warnings in the Wagtail CMS checker.Before fixing the heading
After fixing it
AI Usage
Used Claude.ai to understand
models.pyand how to associate ingredients with bread pages.