Skip to content

joelibaceta/django-field-cypher-demo

Repository files navigation

django-field-cypher-demo

An experiment about building a custom encrypted field

  1. Drop all migrations and db sqlite3
  2. Execute commads
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata person.json
python manage.py createsuperuser --username yahyr --email yahyr@gmail.com
  1. Validate this value is cipher in database using viewers database sqlite

  2. Visualise your info in admin

  3. Rollback migration to 0001

python manage.py migrate demo 0001

User for test use sqlite yahyr@gmail.com Demo123456

About

An experiment about building a custom encrypted field

Topics

Resources

Stars

Watchers

Forks