{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/13"}],"enrichment":{"capability":"Provides a BitField model field for Django that stores multiple boolean flags in a single database BigIntegerField, enabling efficient flag-based queries and admin UI support.","skillfed_tags":["django-orm","database-optimization","flags-permissions"],"use_cases":["Store user permissions or feature flags in a single database column instead of many boolean columns","Implement role-based access control where each role is a bit in a flags field","Track feature toggles or configuration states for A/B testing or gradual rollouts","Query models by multiple flag combinations efficiently using bitwise filtering","Manage admin UI for flag-based settings using the built-in checkbox widget"],"what_it_does":"django-bitfield adds a BitField model field to Django that packs multiple boolean flags into a single database BigIntegerField (stored as BIGINT). Instead of creating separate boolean columns for each flag, you define them once in the field definition and then query and manipulate them using familiar Django ORM syntax\u2014bitwise operations, filtering, and exclusion all work through the standard QuerySet API.\n\nThe package includes admin integration via a checkbox widget and list filter, making it easy to manage flags in Django's admin interface. It's designed for PostgreSQL; SQLite and MySQL have significant limitations. The field stores flags efficiently and allows you to test, set, and clear individual flags or combinations of flags using intuitive Python syntax on model instances.","worth_installing":"Yes, if you use PostgreSQL and need to store multiple boolean flags efficiently in Django models. The package is actively maintained, has no known vulnerabilities, and low install friction. However, verify the license before use and confirm PostgreSQL compatibility with your deployment. Not suitable for SQLite or MySQL projects."},"id":"django-bitfield","links":{"html":"https://skillfed.io/packages/django-bitfield","md":"https://skillfed.io/packages/django-bitfield.md","pypi":"https://pypi.org/project/django-bitfield/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-02","license_spdx":null,"license_treatment":"unclear","name":"django-bitfield","python_support":"unspecified","summary":"BitField in Django"},"popularity":{"monthly_downloads":216818,"position":9371,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.4.0"}
