Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model additions and changes for Wagtail #6218

Merged
merged 3 commits into from
Sep 12, 2024

Conversation

smithellis
Copy link
Contributor

  • Remove models.py
  • Create models/ folder
  • Create models/models.py with our current models
  • Create models/pages.py with WT specific models
  • Create wagtail_hooks.py to register Product model as wagtail snippet
- Remove models.py
- Create models/ folder
- Create models/models.py with our current models
- Create models/pages.py with WT specific models
- Create wagtail_hooks.py to register Product model as
wagtail snippet
kitsune/products/models/pages.py Outdated Show resolved Hide resolved
kitsune/products/models/pages.py Show resolved Hide resolved
kitsune/products/models/pages.py Outdated Show resolved Hide resolved
kitsune/products/models/pages.py Outdated Show resolved Hide resolved
- raise Http404 vs. return it
- simplify featured articles addition to mimic current
- drop erroneous get_context
- drop kwargs on RichTextBlock
kitsune/products/models/pages.py Outdated Show resolved Hide resolved
@smithellis smithellis merged commit 55a4ef7 into mozilla:main Sep 12, 2024
2 checks passed
@smithellis smithellis deleted the 02WT-wagtail-models-and-pages branch September 12, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants