Provides encrypted model fields for Django using pgcrypto (PostgreSQL extension). Automatically encrypts/decrypts data via pgcrypto functions. Latest version 2.6.0 supports Django 2.2–3.1 and Python ≥3.6. Monthly or quarterly releases.
pip install django-pgcrypto-fieldsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Define an encrypted field. Auto-encrypts on save, auto-decrypts on read.
Use regular Django managers and admins, or no manager at all.
Remove imports from pgcrypto.aggregates.
Ensure PGCRYPTO_KEY is set in your environment or Django settings.
Upgrade Python to 3.6+.