Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joelibaceta/django-field-cypher-demo
- Owner: joelibaceta
- Created: 2021-07-02T06:17:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-10T10:30:07.000Z (over 3 years ago)
- Last Synced: 2024-12-13T13:18:22.843Z (9 days ago)
- Topics: custom-field, cypher, django
- Language: Python
- Homepage:
- Size: 10 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 admin9. Rollback migration to 0001
```shell
python manage.py migrate demo 0001
```User for test use sqlite
[email protected]
Demo123456