Skip to content

WIP: demo API v3#461

Open
thibaudcolas wants to merge 3 commits into
mainfrom
demo/api-v3
Open

WIP: demo API v3#461
thibaudcolas wants to merge 3 commits into
mainfrom
demo/api-v3

Conversation

@thibaudcolas

Copy link
Copy Markdown
Member

WIP

Copilot AI review requested due to automatic review settings July 9, 2026 08:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This WIP PR switches the project to a Wagtail 8.0 nightly build and enables the new Wagtail API v3 by registering its app and URL routes.

Changes:

  • Swap the Wagtail dependency from a stable version range to a pinned nightly wheel URL.
  • Add wagtail.api.v3 to INSTALLED_APPS.
  • Expose the API at /api/v3/ via the project URLconf.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.

File Description
pyproject.toml Pins Wagtail to a nightly wheel URL (and defines top-level dependency constraints).
poetry.lock Updates the resolved dependency set for the Wagtail nightly (including django-ninja/pydantic).
apps/guide/urls.py Adds the /api/v3/ route backed by Wagtail API v3’s URL configuration.
apps/guide/settings/base.py Enables the Wagtail API v3 Django app in INSTALLED_APPS.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
Comment on lines 10 to +12
python = ">=3.14"
django = ">=6.0,<7.0"
wagtail = ">=7.4,<7.5"
wagtail = {url = "https://releases.wagtail.org/nightly/dist/wagtail-8.0.dev20260709-py3-none-any.whl"}
Comment thread pyproject.toml
python = ">=3.14"
django = ">=6.0,<7.0"
wagtail = ">=7.4,<7.5"
wagtail = {url = "https://releases.wagtail.org/nightly/dist/wagtail-8.0.dev20260709-py3-none-any.whl"}
@RealOrangeOne RealOrangeOne temporarily deployed to wagtail-guid-demo-api-v-qkmoeo July 9, 2026 08:30 Inactive
Comment thread pyproject.toml
python = ">=3.14"
django = ">=6.0,<7.0"
wagtail = ">=7.4,<7.5"
wagtail = {url = "https://releases.wagtail.org/nightly/dist/wagtail-8.0.dev20260709-py3-none-any.whl"}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Might as well use the latest wheel always?

Suggested change
wagtail = {url = "https://releases.wagtail.org/nightly/dist/wagtail-8.0.dev20260709-py3-none-any.whl"}
wagtail = {url = "https://releases.wagtail.org/nightly/dist/latest.whl"}

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.

4 participants