Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Fernet-encrypted model fields for Django

Project Description

Fernet symmetric encryption for Django model fields, using the cryptography library.

django-fernet-fields supports Django 1.8.2 and later on Python 2.7, 3.3, 3.4, pypy, and pypy3.

Only PostgreSQL, SQLite, and MySQL are tested, but any Django database backend with support for BinaryField should work.

Getting Help

Documentation for django-fernet-fields is available at

This app is available on PyPI and can be installed with pip install django-fernet-fields.


See the contributing docs.


master (unreleased)

0.5 (2017.02.22)

  • Support Django 1.10.

0.4 (2015.09.18)

  • Add isnull lookup.

0.3 (2015.05.29)

  • Remove DualField and HashField. The only cases where they are useful, they aren’t secure.

0.2.1 (2015.05.28)

  • Fix issue getting IntegerField validators.

0.2 (2015.05.28)

  • Extract HashField for advanced lookup needs.

0.1 (2015.05.27)

  • Initial working version.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.8 kB) Copy SHA256 Hash SHA256
Source Feb 22, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting