1212 upgrade to django 5.2.9#1214
Merged
Merged
Conversation
- Update Dockerfile to use Python 3.13.1 base image - Update requirements.txt with Django 5.2 compatible package versions - Remove django-sortedm2m-filter-horizontal-widget (unmaintained, incompatible) - Upgrade django-sortedm2m to 4.0.0 for Django 5.x support - Remove SortedFilteredSelectMultiple from artifact_admin.py and publication_admin.py - Remove 'sortedm2m_filter_horizontal_widget' from INSTALLED_APPS - Remove unused 'utc' import from news_listing.py (removed in Django 5.x) Breaking changes addressed: - django.utils.timezone.utc removed in Django 5.x - ManyToManyRel.is_hidden() changed to .hidden property (fixed in sortedm2m 4.0.0) Note: Author ordering in admin now uses sortedm2m's built-in drag-and-drop widget instead of the filter-horizontal dual-list style.
…ossible. I removed in the field definitions
…-horizontal-widget that is now compatible with Django 5.2.9
…n improved findOrderedSelectBoxElement in OrderedSelectBox.js, which addresses #973
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgraded Django from 4.2.16 to 5.2.9, which broke a number of things (also fixed in this branch), including, most sizably, the
sortedm2m_filter_horizontal_widgetwidget. We previously relied on https://github.com/svleeuwen/sortedm2m-filter-horizontal-widget but this PR introduces our own custom widget.In addition, this PR addresses: