{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/6"}],"enrichment":{"capability":"Provides Django model fields that store Python enums natively, allowing you to use PEP 435-style enums in models, forms, and admin interfaces with automatic label generation.","skillfed_tags":["django-orm","enum-support","abandoned"],"use_cases":["Store categorical data (e.g., status, color, priority) in Django models with type-safe enum access instead of magic strings.","Generate admin dropdown filters automatically from enum definitions without manual choice tuples.","Serialize enum fields in Django REST Framework APIs while preserving enum semantics in the JSON output.","Use enums in model queries and filters with IDE autocomplete and static type checking.","Define custom labels for enum values in admin and form displays via a nested Labels class."],"what_it_does":"django-enumfields bridges Python's standard enum module (PEP 435) with Django's ORM by providing EnumField and EnumIntegerField model fields that store enum values in the database while preserving type safety in Python code. It includes a custom Enum class that auto-generates human-readable labels for use in admin dropdowns and forms, plus integration with Django's admin list filters and Django REST Framework serializers.\n\nThe package is straightforward to use: define a Python enum, attach it to a model field, and query using enum members directly rather than raw strings or integers. It handles form field generation and admin integration automatically. However, the project is no longer maintained\u2014the last release was in February 2021 and the last repository commit in December 2022\u2014so it may not work reliably with newer Django or Python versions.","worth_installing":"No\u2014unless you are locked into Django 2.2, 3.0, or 3.1 with Python 3.5\u20133.9 and have no plans to upgrade. The package is abandoned and has not been updated since 2021. Compatibility with newer versions is unverified. For new projects, consider using Django's native choices with enums or a maintained alternative."},"id":"django-enumfields","links":{"html":"https://skillfed.io/packages/django-enumfields","md":"https://skillfed.io/packages/django-enumfields.md","pypi":"https://pypi.org/project/django-enumfields/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-02-23","license_spdx":null,"license_treatment":"permissive","name":"django-enumfields","python_support":"unspecified","summary":"Real Python Enums for Django."},"popularity":{"monthly_downloads":132797,"position":11536,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.1"}
