You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] Deprecating django-stdimage and migrate to django-picture #11647
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
The django-stdimage has been deprecated for a while now in favor of django-picture as a successor for this. ref. Also, the support for Django 4.2 will soon come to the end. Additionally, when I tested django-stdimage with django 5.2, there are some features that aren't compatible with django 5.2.
These are tests that failed when testing with django 5.2
Those tests are running fine with django 4.2 which will soon be the end of life. This means that there are some features that aren't compatible with django 5.2. And it will soon break InvenTree project if still keep using this.
I also believe it's a good idea to migrate to a more maintained dependency and support latest django. Since there will more features won't be compatible with newer django because it hasn't maintained anymore.
I'm a student from the CodePath AI301 program, and this dependency migration seems like a well-scoped task. My plan is to audit all usages of django-stdimage in the codebase, replace them with the equivalent django-picture API, update any affected migrations and templates, and add tests to verify compatibility with Django 5.2.
Happy to discuss implementation details before I start if that's helpful. Let me know if there's anything specific I should be aware of!
Activity
matmair commentedon Mar 31, 2026
We welcome PRs; this is not as trivial as it sounds and we are running on unpaid volunteer time
matmair commentedon Mar 31, 2026
Django-picture is not drop-in compatible and comes with a number of drawbacks as it is more opinionated
SchrodingersGat commentedon Apr 27, 2026
The
django-stdimageproject has now been archived (as of April 2026) - so we should start thinking aboutYutingDuan111 commentedon Jun 12, 2026
Hi, I'd like to work on this!
I'm a student from the CodePath AI301 program, and this dependency migration seems like a well-scoped task. My plan is to audit all usages of
django-stdimagein the codebase, replace them with the equivalentdjango-pictureAPI, update any affected migrations and templates, and add tests to verify compatibility with Django 5.2.Happy to discuss implementation details before I start if that's helpful. Let me know if there's anything specific I should be aware of!
SchrodingersGat commentedon Jun 13, 2026
@YutingDuan111 it is unlikely that this will be the direction we go for this issue - so I would suggest you explore other issues to tackle
github-actions commentedon Aug 12, 2026
This issue seems stale. Please react to show this is still important.