{"categories":[{"label":"Front-Ends","url":"https://skillfed.io/packages/category/database-front-ends"}],"enrichment":{"capability":"Adds ordering and reordering capabilities to Django models, with methods to move instances up, down, to specific positions, or relative to other instances, plus admin UI support.","skillfed_tags":["django-extension","model-ordering","admin-ui"],"use_cases":["Manage a ranked or prioritized list of items in a Django app where users can reorder via admin.","Order contacts, tasks, or other entities independently per user or group using subset ordering.","Build a many-to-many relationship with custom ordering via a through model.","Implement a sortable list of questions or content blocks where position matters and can change dynamically.","Query for items above or below a threshold position without manually managing sort indices."],"what_it_does":"django-ordered-model is a Django app that lets you add ordering to any model by inheriting from a base class instead of models.Model directly. It maintains an order field and provides methods to move instances relative to each other\u2014up, down, to a specific position, above or below another instance, or to the top or bottom of the stack. It also supports subset ordering so you can order items independently within groups, such as each user's contacts ordered separately.\n\nThe package includes a custom manager and queryset with additional filtering methods, and integrates with Django's admin interface for reordering. It uses Django's update() method for performance when shifting other objects' positions. The codebase is marked Production/Stable but maintenance is dormant with no releases since 2023-03-17.","worth_installing":"Yes, if you need model ordering in Django and can accept dormant maintenance. The package is stable, has no security vulnerabilities, installs with zero friction, and solves a common problem cleanly. However, verify compatibility with your Django version since the last release was 2023-03-17 and no updates are planned."},"id":"django-ordered-model","links":{"html":"https://skillfed.io/packages/django-ordered-model","md":"https://skillfed.io/packages/django-ordered-model.md","pypi":"https://pypi.org/project/django-ordered-model/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-03-17","license_spdx":null,"license_treatment":"permissive","name":"django-ordered-model","python_support":"unspecified","summary":"Allows Django models to be ordered and provides a simple admin interface for reordering them."},"popularity":{"monthly_downloads":719437,"position":5240,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.7.4"}
