← Back to issue list

Add `django-framework` extension and `django-framework` init profile

View original Github issue

Metadata

Project
rockcraft
Number
#492
Type
pull request
State
merged
Author
weiiwang01
Labels
—
Created
Updated
Closed

Current evaluation

Django support shipped via follow-up PR #534, merged as commit e86bf33b, adding the experimental extension and init profile plus Flask-related refactors.

Resolution: closed resolved

Reason: Follow-up PR rockcraft#534 was merged into main as commit e86bf33b, delivering the Django framework extension, init profile, documentation, and supporting refactors.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add the `django-framework` that can package a Django project into a ROCK, similar to the `flask-framework`. Some refactoring was performed, and some improvements were made over the `flask-framework` extension as well. Changes include: - Update the extension part name prefix from `flask/` to `flask-framework/`. - Install `statsd-exporter` along with the Gunicorn server. - Install `ca-certificates` in the ROCK image by default. - Disable the WSGI path check when `services.flask.command` or `services.django.command` is overridden. - Improve the quality of generated parts. ----- - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Django support shipped via follow-up PR #534, merged as commit e86bf33b, adding the experimental extension and init profile plus Flask-related refactors.
stealth/space-bunny-alpha — closed superseded Django support was reworked from #492 and merged via #534 as experimental django-framework support in commit e86bf33b.
stealth/space-bunny-alpha — closed resolved Added the experimental django-framework extension and init profile via merged Rockcraft PR #534 (commit e86bf33b), enabling Django ROCK packaging and refactoring Flask support.
stealth/space-bunny-alpha — closed resolved Merged as e86bf33b (canonical/rockcraft#534), adding the experimental Django extension/init profile, Flask extension refactoring, and improved generated parts.
qwen/qwen3.6-35b-a3b — — Added django-framework extension and init profile. Includes flask-framework refactoring, dependency updates, and new spread tests. Branch was rebased to main, commits cleaned, and merged after passing CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds django-framework extension and init profile to package Django projects into ROCKs. Includes refactoring, spread tests, and commit cleanup after branch sync. Unrelated test failures did not block the merge.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: rockcraft#534 (confidence 99%)

    Merged replacement implementation of the Django extension and init profile requested in PR #492.

Related issues

Issue Project State Summary Similarity
#1578 feat(extension): support django-framework charmcraft merged Merged in canonical/charmcraft#1578, adding Django framework extension support and refactoring the Flask extension.
74%
#1257 Add the flask extension charmcraft merged Merged as an experimental Flask extension change; the completed flask-framework implementation landed in follow-up PR #1582 via commit c060832a.
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.
74%
#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.
70%