← Back to issue list

feat(extension): support django-framework

View original Github issue

Metadata

Project
charmcraft
Number
#1578
Type
pull request
State
merged
Author
weiiwang01
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/charmcraft#1578, adding Django framework extension support and refactoring the Flask extension.

Resolution: closed resolved

Reason: PR #1578 merged after approval and added the django-framework extension. Follow-up PR #1655 (a505f200) released it experimentally on latest/edge, and PR #1928 (77639812) later made it stable.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add the `django-framework` extension, which is similar to the `flask-framework` but specifically designed for the Django framework. The `flask-framework` has been refactored in hope to be more aligned with the extension system in charmcraft. Due to the fact that we are still waiting for some changes in other libraries to land, one spread test might fail. Please review the current content, and I will update the pull request once the changes in other libraries are merged.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/charmcraft#1578, adding Django framework extension support and refactoring the Flask extension.
stealth/space-bunny-alpha — closed resolved Merged in canonical/charmcraft#1578, adding Django framework support. Charmcraft history later recorded the extension’s experimental latest/edge implementation in #1655 (a505f200).
qwen/qwen3.6-35b-a3b — — Merged the django-framework extension, mirroring the flask-framework implementation. Approved by three reviewers and implemented by an external contributor across 14 files. Integrated into charmcraft.
qwen3.6-35b-a3b-mtp-q6 — — Merged the django-framework extension, mirroring flask-framework and aligning with charmcraft's updated extension system. Integrated after review with initial test warnings resolved prior to merge.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/charmcraft#1928 (confidence 98%)

    Merged follow-up that promoted the Django extension from experimental to stable.

  • Related To: canonical/charmcraft#1655 (confidence 95%)

    Merged follow-up that released the extension experimentally on latest/edge.

Related issues

Issue Project State Summary Similarity
#2756 chore: add base support for Flask and Django extensions charmcraft merged Merged in charmcraft#2756 as commit 1d4807fe, restoring explicit Ubuntu 24.04 support for Flask and Django extensions and fixing their Spread-test failures.
76%
#492 Add `django-framework` extension and `django-framework` init profile rockcraft merged Django support shipped via follow-up PR #534, merged as commit e86bf33b, adding the experimental extension and init profile plus Flask-related refactors.
74%
#1582 Add the `flask-framework` extension charmcraft merged Merged the flask-framework extension and init profile into Charmcraft via PR #1582 (commit c060832a), including a fix to skip tox testing when no tox.ini is generated.
72%
#1986 feat(extension): Add option to enable async workers in Flask and Django charmcraft merged Merged Charmcraft PR #1986 as commit 3128c623, adding a charm option to enable async Gunicorn workers for Flask and Django extensions.
72%
#1655 feat: django-framework extension charmcraft merged Merged as a505f200, adding an experimental Django framework extension for latest/edge while excluding it from candidate releases.
72%
#2556 fix: charmcraft templates for flask and django extensions charmcraft merged Merged #2556 added the missing platforms key to Charmcraft YAML templates for Flask and Django 12-factor extensions.
71%