factory
- update to 2.4:
* Added Django 6.0 support.
* Added Python 3.13 support.
* Dropped Django 4.2 LTS support (end of extended support,
April 2026).
* Dropped Django 5.0 support. The admin's delete_translation
view calls ModelAdmin.log_deletions, which was introduced in
Django 5.1 — so translation deletion raised AttributeError on
5.0. The install requirement is now Django>=5.1.
* Replaced removed csrf_protect_m decorator with
@method_decorator(csrf_protect) in the admin.
* Replaced deprecated unique_together with
models.UniqueConstraint in the translated fields model.
* Added a validate_constraints() call alongside
validate_unique() in form validation so UniqueConstraint
violations surface through the form.
* Updated log_deletion() call to the renamed log_deletions()
with its new signature (Django 6).
* Fixed a thread-safety bug in SortedSelectMixin.sort_choices()
where the deep-copy guard was skipped for the second and
later optgroups, causing .sort() to mutate the caller's
choices list.
* Expanded the test suite with new modules covering admin
views, cache, forms, managers, model construction, template
tags, views, and widgets.
OBS-URL: https://build.opensuse.org/request/show/1362538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-django-parler?expand=0&rev=6
Description
No description provided
Languages
RPM Spec
100%