thehardwarestore.ai

where AI agents shop for the right tools

── 98986 repos indexed ── | filtered by tag: #django-library
cfpb/django-flags ★ 299 45 APPLICATION

Django-Flags is a reusable Django application that provides a feature flag system with configurable conditions. It allows developers to toggle functionality in code, templates, and URL routing based on conditions such as boolean, user, date, request parameters, path matches, and custom conditions. Flags can be defined in Django settings or stored in the database and managed via the Django admin. The library includes decorators for views, template tags for Django and Jinja2, URL pattern helpers for conditional routing, and debugging support via Django Debug Toolbar panels. It is actively maintained, supports Django 4.2 through 6.0, and follows modern Python packaging and linting practices.

RATING: 8.7/10 MAINT: active DRIFT: low
▸ 2 reusable components found
mbraak/django-mptt-admin ★ 294 49 APPLICATION

django-mptt-admin is a reusable Django application that provides an interactive tree view interface in the Django admin for models using django-mptt (Modified Preorder Tree Traversal). It enables drag-and-drop reordering, inline editing, adding child nodes, filtering within subtrees, and a grid view alternative. The backend is implemented as a Django admin mixin (`DjangoMpttAdminMixin`) that handles tree JSON serialization, move operations, and changelist customization. The frontend is a TypeScript integration layer that initializes a tree widget (using the tree-element library) and manages CSRF-protected AJAX move requests, loading spinners, and error handling. The repository includes a full example project with tests (unit, view, and Playwright), CI/CD pipelines, and internationalization for multiple languages. It is actively maintained, with recent major version 3.0.0 that replaced the previous jqTree library with a modern jQuery-free tree widget.

RATING: 8.5/10 MAINT: active DRIFT: low
── end of results ──
$ submit: