Skip to content

Commit c8a678b

Browse files
committed
docs: update for human read
1 parent 77eaff0 commit c8a678b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ c.decrypt('-bYijegsEDrmS1s7ilnspA==') # some_address
5656
## Settings
5757

5858
- MIRAGE_SECRET_KEY
59-
- MIRAGE_CIPHER_MODE (v1.2)
60-
- MIRAGE_CIPHER_IV (v1.2)
59+
- MIRAGE_CIPHER_MODE (v1.2.0+)
60+
- MIRAGE_CIPHER_IV (v1.2.0+)
6161

6262
### MIRAGE_SECRET_KEY
6363

@@ -88,7 +88,7 @@ Mirage will get the `settings.MIRAGE_SECRET_KEY` first, if not set, mirage will
8888

8989
Add`mirage`to`INSTALLED_APPS`
9090

91-
### 1. Migrations
91+
### Way 1. Migrations
9292

9393
add `app_name`,`model_name`,`field_name` in [migrations.RunPython](https://docs.djangoproject.com/en/2.2/ref/migration-operations/#runpython)
9494

@@ -98,7 +98,7 @@ from mirage.tools import Migrator
9898
migrations.RunPython(Migrator("app_name", "model_name", "field_name").encrypt, reverse_code=Migrator("app_name", 'model_name', 'field_name').decrypt),
9999
```
100100

101-
### 2. Commands
101+
### Way 2. Commands
102102

103103
Options:
104104

0 commit comments

Comments
 (0)