Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joelibaceta/django-field-cypher-demo

An experiment about building a custom encrypted field
https://github.com/joelibaceta/django-field-cypher-demo

custom-field cypher django

Last synced: 9 days ago
JSON representation

An experiment about building a custom encrypted field

Awesome Lists containing this project

README

        

# django-field-cypher-demo

An experiment about building a custom encrypted field

1. Drop all migrations and db sqlite3
2. Execute commads

``` shell
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata person.json
python manage.py createsuperuser --username yahyr --email [email protected]
```

7. Validate this value is cipher in database using viewers database sqlite
8. Visualise your info in admin

9. Rollback migration to 0001

```shell
python manage.py migrate demo 0001
```

User for test use sqlite
[email protected]
Demo123456