{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/4"}],"enrichment":{"capability":"Provides version checking utilities for Django, allowing code to detect which Django version is installed and conditionally execute logic based on version comparisons.","skillfed_tags":["django-compatibility","version-detection"],"use_cases":["Support multiple Django versions in a single codebase during a gradual Django upgrade","Conditionally import or use different APIs depending on the installed Django version","Expose Django version information to templates for version-specific template logic","Simplify version-gated feature flags in reusable Django packages"],"what_it_does":"django-nine is a compatibility library that exposes boolean constants for each Django version, letting you write version-aware code without manual version parsing. It provides constants like `DJANGO_1_7`, `DJANGO_GTE_1_8`, and `DJANGO_LTE_2_0` that evaluate to True or False based on the installed Django version, and can be used in Python code or injected into Django templates via a context processor.\n\nThe library is designed for projects that need to support multiple Django versions simultaneously\u2014a common requirement during Django upgrades. Instead of checking `django.VERSION` manually, you import pre-defined version flags and use them in conditional logic. It depends only on Django and packaging, making it a lightweight addition to any Django project.","worth_installing":"Yes, if you maintain Django code that must support multiple Django versions. It eliminates boilerplate version checking and is lightweight. No, if you target a single Django version or have already moved to modern Django\u2014the library's last release was December 2022 and it does not yet declare support for Django versions beyond 4.1, so verify compatibility with your target version first."},"id":"django-nine","links":{"html":"https://skillfed.io/packages/django-nine","md":"https://skillfed.io/packages/django-nine.md","pypi":"https://pypi.org/project/django-nine/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-12-05","license_spdx":null,"license_treatment":"copyleft","name":"django-nine","python_support":"unspecified","summary":"Version checking library."},"popularity":{"monthly_downloads":174191,"position":10286,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.7"}
