[DEPR]: django-stdimage
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 42/100
Research direction
Search the course-discovery codebase for StdImageField, django-stdimage settings, and related image handling, then review the django-pictures AlterPictureField migration instructions. Replace the existing usage, preserve image files through the data migration, and verify that Celery regenerates responsive variations without data loss.
Written by the indexing model from the issue text.
Description
Proposal Date
1 July 2025
Ticket Acceptance Date
1 August 2025
Technology Removal Date
15 September 2025
First Open edX Named Release Without This Functionality
Ulmo
Rationale
django-stdimage is no longer maintained and has been archived by its author. Keeping it increases technical debt.
Removal
We propose to remove all usage of django-stdimage and its field StdImageField across the course-discovery codebase.
- References to StdImageField in models
- Any settings or code used to configure django-stdimage
Replacement
We will use django-pictures, a modern, responsive, and actively maintained image field library.
It supports:
- Async image processing via Celery/Dramatiq
- AVIF/WEBP and multi-size image generation
- Placeholder and fallbacks
Deprecation
No response
Migration
We'll create a Django data migration using AlterPictureField from django-pictures to convert the field. The migration will retain existing image files and regenerate responsive variations. No data loss is expected.
Migration instructions for django-stdimage github.
Celery will be used to process images asynchronously after migration.
Additional Info
- Upstream deprecation: https://github.com/xarg/django-stdimage
- Recommended replacement: https://github.com/codingjoe/django-pictures
- We have successfully tested this migration in a local project and confirmed auto-generation of image variations post-migration using Celery.
- Dominant language
- Python
- Stars
- 59
- Forks
- 195
- Avg merge
- 5h 56m
- Merged PRs (30d)
- 4
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from openedx/course-discovery
-
depr
Difficulty 5/5 Over a week Newbie friendliness 20/100
openedx/course-discovery#4449 · 25 comments · 13 reactions ·
-
Flaky TestsOpenflaky-test
Difficulty 4/5 3-5 days Newbie friendliness 35/100
openedx/course-discovery#4431 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
openedx/course-discovery#4430 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
openedx/course-discovery#4110 ·
-
Dependency DashboardOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
openedx/course-discovery#3648 ·
All issues in openedx/course-discovery
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
mozilla-ai/cq#601 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
intcomma returns exponential notation for large floatsPossibly taken @Omarinho12345 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
python-humanize/humanize#521 ·
Maintainers usually reply within 1 day
-
LUCJ pass manager raises NoEdgeBetweenNodes when an edge is bad for two two-qubit gatesPossibly taken @hat-im claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
opensubtitlescom: provider rejects pt-PT even though its own converter maps itPossibly taken @paulo-0308 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Diaoul/subliminal#1405 ·