Django-ordered-model-grappelli

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 2

1.0.1

------------------
- by gbezyuk
- Grappelli postfix added
- is_editable=True for order field to make it available for Grappelli inlines

1.0

- Add support for custom order field by inheriting from `OrderedModelBase` and setting `order_field_name`.
- Add support for Python 3.
- Drop support for Django 1.4.

1.0.0

------------------

0.4.2

------------------

- Fix admin buttons not working with custom primary keys.
- Fix admin using deprecated `get_query_set` method.

0.4.1

------------------

- Add support for Django 1.7 and 1.8.
- Fix deprecation warning about module\_name.
- Add French translations.

0.4.0

------------------

- Models can now be moved to any position, not just up and down. `move_up()` and `move_down()` are replaced by `up()` and `down()`. See the readme for the full set of new methods.
- Add `order_with_respect_to` option so models can be ordered based on another field.
- The admin ordering controls are now rendered using templates.
- Ordering now always starts from 0 and has no gaps. Previously, gaps in the ordering numbers could appear when models were deleted, etc.
- Fix bug where objects always get the order of "0".
- Models with custom primary keys can now be used as ordered models.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.