Skip to content

Upgrade bakerydemo to Django 6.0 - #594

Merged
gasman merged 3 commits into
wagtail:mainfrom
Coll76:Upgrade-to-Django6.0
Jan 5, 2026
Merged

Upgrade bakerydemo to Django 6.0#594
gasman merged 3 commits into
wagtail:mainfrom
Coll76:Upgrade-to-Django6.0

Conversation

@Coll76

@Coll76 Coll76 commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR updates bakerydemo to be compatible with Django 6.0, following the discussion in issue #558.

Changes

  • Updated Django version constraints to allow Django 6.0
  • Verified compatibility with Wagtail 7.2

Testing

  • python manage.py check
  • python manage.py migrate
  • Manual testing via runserver

Notes

During testing, the project ran successfully on Python 3.12.
I observed issues when running on Python versions below 3.12 where the installation failed with python version 3.11.2. However, this PR does not enforce a Python version change and follows the existing project setup.

Fixes #558

Comment thread bakerydemo/settings/base.py Outdated
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.sitemaps",
"django.contrib.postgres",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't valid if we're running against a non-Postgres database. There's an existing PR #587 dealing with this, which I'll merge shortly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the clarification.
I will keep this PR focused on the Django 6.0 upgrade itself and defer any Postgres-specific changes to PR #587.

@gasman
gasman merged commit 49cda62 into wagtail:main Jan 5, 2026
3 checks passed
@gasman

gasman commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Thanks @Coll76!

ArneTR added a commit to green-coding-solutions/bakerydemo that referenced this pull request Jan 6, 2026
* upstream/main:
  Update PostgreSQL and Redis images to latest versions (wagtail#588)
  Upgrade bakerydemo to Django 6.0 (wagtail#594)
  Fix cache collision in blog index by adding tag to cache key (wagtail#592)
  Conditionally add postgres app to INSTALLED_APPS (wagtail#587)
ArneTR added a commit to green-coding-solutions/bakerydemo that referenced this pull request Jan 6, 2026
* upstream/main:
  Update PostgreSQL and Redis images to latest versions (wagtail#588)
  Upgrade bakerydemo to Django 6.0 (wagtail#594)
  Fix cache collision in blog index by adding tag to cache key (wagtail#592)
  Conditionally add postgres app to INSTALLED_APPS (wagtail#587)
gaumrab pushed a commit to gaumrab/bakerydemo that referenced this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Django 6.0

2 participants