{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"},{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/2"}],"enrichment":{"capability":"Extends Django's ORM to expose PostgreSQL-specific features like native upserts, HStore field constraints, table partitioning, and specialized indexes through a single integrated package.","skillfed_tags":["postgres-orm-extension","django-plugin"],"use_cases":["Implement single-query upserts in high-concurrency scenarios where duplicate-key conflicts are expected and performance matters.","Add unique or null constraints to HStore fields and query individual keys without denormalization.","Partition large tables by range or list in PostgreSQL 11+ to improve query performance and maintenance on time-series or categorical data.","Replace slow Django delete operations with PostgreSQL TRUNCATE for bulk data cleanup.","Define conditional or case-sensitive unique indexes to enforce domain-specific uniqueness rules the standard ORM cannot express."],"what_it_does":"django-postgres-extra is a Django extension that bridges the gap between Django's generic ORM and PostgreSQL's advanced capabilities. Instead of writing raw SQL or using multiple small packages, it provides a cohesive set of tools\u2014native upserts (single-query, concurrency-safe), HStore field enhancements (unique and null constraints, key-level selection), PostgreSQL 11.x table partitioning (range and list), faster truncate operations, and specialized indexes (conditional unique, case-sensitive unique)\u2014all integrated into Django's migration system so they work seamlessly without manual SQL.\n\nThe package targets teams running Django on PostgreSQL who want to leverage database-specific performance and data-modeling features without abandoning the ORM. It depends on Django, python-dateutil, and dataclasses, and supports Python 3.6 through 3.11 and Django 2.0 through 5.0. The project is actively maintained, well-tested (with CircleCI integration and code coverage tracking), and documented via Read The Docs.","worth_installing":"Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and solves real PostgreSQL-specific problems that would otherwise require raw SQL or multiple dependencies. It is a good fit if you are committed to PostgreSQL and want to use its advanced features within Django's ORM without sacrificing code clarity or migrations. Not suitable if you need database portability or are not using PostgreSQL."},"id":"django-postgres-extra","links":{"html":"https://skillfed.io/packages/django-postgres-extra","md":"https://skillfed.io/packages/django-postgres-extra.md","pypi":"https://pypi.org/project/django-postgres-extra/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-07-11","license_spdx":null,"license_treatment":"permissive","name":"django-postgres-extra","python_support":"supports_current","summary":"Bringing all of PostgreSQL's awesomeness to Django."},"popularity":{"monthly_downloads":503783,"position":6301,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0.9"}
