An experiment about building a custom encrypted field
- Drop all migrations and db sqlite3
- 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]
-
Validate this value is cipher in database using viewers database sqlite
-
Visualise your info in admin
-
Rollback migration to 0001
python manage.py migrate demo 0001
User for test use sqlite [email protected] Demo123456