Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 576 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 576 Bytes

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 [email protected]
  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 [email protected] Demo123456