Django-orderable

Latest version: v6.1.2

Safety actively analyzes 622315 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

6.1.2

======

* Replace django.conf.url with django.urls.path

6.1.1

======

* Fix UUID as Primary key.

6.1.0

======

* Add Orderable.validate_unique to exclude `sort_order` when it is unique_together with something.
* Change staticfiles to static for Django 3.0
* Add Django 2.3 and 3 to TravisCI build

6.0.1

======

* Add Django 2.1 to TravisCI build
* Fix edit inline issues causing reordering to fail when items have equal sort_order values.

6.0.0

======

* Drop support for django 1.10 and below. Things probably still work on the old versions, we're just no longer supporting them.
* Drop support for Python 3.3. Again, it probably still works, just not supported.
* Add django 2.0 support (nothing significant actually changed -- only tests).
* Fix `sort_order_display` in Django admin change_list view.

5.0.0

======

* Drop support for django versions before 1.8.
* Add `before` and `after` to `OrderableQueryset` to return the next item in the set.
- example usage: `ordered_queryset.objects.after(ordered_object)`
* Add `OrderableQueryset.set_orders()` to perform a mass rearrangement of items. This now requires custom model managers to inherit from `OrderableManager`.
* Add `_pass_through_save()` to `Orderable`. This allows you to skip the insertion sorting performed by the `save()` method, such as when updating multiple objects at once to rearrange them. (`set_orders()` uses it.)

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.