{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Django-MySQL extends Django's ORM with MySQL and MariaDB-specific features including QuerySet optimizations, specialized model fields, MySQL functions, and database utilities not available in Django's generic database layer.","skillfed_tags":["django-extension","mysql-mariadb","orm-optimization"],"use_cases":["Optimize pagination on large querysets using chunked iteration instead of loading all results into memory.","Get quick row count estimates using approx_count instead of expensive COUNT(*) queries on massive tables.","Store semi-structured data like configuration dictionaries using MariaDB Dynamic Columns without a separate JSON column.","Implement application-level locking on shared resources using MySQL named locks without external lock services.","Leverage MySQL-specific functions like JSON operations or string functions directly in ORM expressions."],"what_it_does":"Django-MySQL is a bridge library that unlocks MySQL and MariaDB capabilities within Django's ORM that would otherwise be unavailable. It provides QuerySet extensions for efficient pagination and approximate counting, specialized model fields like MariaDB Dynamic Columns and comma-separated fields, direct access to over 20 MySQL-specific SQL functions, and utilities for database-level operations like named locks and table management.\n\nThe package is designed for Django projects that have committed to MySQL or MariaDB and want to leverage database-specific optimizations and features. It integrates directly into Django's model and queryset layers, so usage typically involves importing custom field classes or manager methods rather than learning a separate API. The library maintains compatibility with current Django versions (4.2 through 6.0) and modern Python (3.9+), with no external compiled dependencies beyond what Django itself requires.","worth_installing":"Yes, if your Django project uses MySQL or MariaDB and you need database-specific optimizations or features. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and integrates cleanly with current Django versions. Install friction is minimal. If you use PostgreSQL or SQLite, this package provides no value."},"id":"django-mysql","links":{"html":"https://skillfed.io/packages/django-mysql","md":"https://skillfed.io/packages/django-mysql.md","pypi":"https://pypi.org/project/django-mysql/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-18","license_spdx":"MIT","license_treatment":"permissive","name":"django-mysql","python_support":"supports_current","summary":"Django-MySQL extends Django's built-in MySQL and MariaDB support their specific features not available on other databases."},"popularity":{"monthly_downloads":742761,"position":5179,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.19.0"}
