Some simple encrypted JSON fields for use with Django.
Minimum Versions:
- Python 3.10+
- Django 5.2+
- PostgreSQL 14+
Dependencies:
- cryptography
- django-pgjson
- psycopg2-binary
On Ubuntu you need to install libffi-dev and libpq-dev:
$ sudo apt-get install libffi-dev libpq-dev
$ pip install -r requirements.txt
The test requirements are found in requirements.txt
$ pip install -r requirements.txt
$ cd tests
$ python manage.py test test_app
Or use the test script:
$ ./runtests.sh
$ docker-compose up --abort-on-container-exit
Upgraded to Django 5.2.10 and Python 3.10 - See UPGRADE_GUIDE.md for complete details.
- ✅ Removed Python 2 compatibility (six library)
- ✅ Updated to Django 5.2 APIs
- ✅ Modernized migrations to use BigAutoField
- ✅ Added Docker support (Python 3.10 + PostgreSQL 14)