File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,8 @@ Configuring the ``encrypted_fields_map``
198198When you :ref: `configure an encrypted database connection
199199<qe-configuring-databases-setting>` without specifying an
200200``encrypted_fields_map ``, Django MongoDB Backend will create encrypted
201- collections for you when you run ``python manage.py migrate ``.
201+ collections for you when you run ``python manage.py migrate --database
202+ encrypted ``.
202203
203204Encryption keys for encrypted fields are stored in the key vault
204205:ref: `specified in the Django settings <qe-configuring-kms >`. To see the keys
Original file line number Diff line number Diff line change @@ -57,11 +57,11 @@ Django:
5757
5858
5959 Once you have defined your models, create the migrations with ``python manage.py
60- makemigrations `` and run the migrations with ``python manage.py migrate ``. Then
61- create and manipulate instances of the data just like any other Django model
62- data. The fields will automatically handle encryption and decryption, ensuring
63- that :ref: `sensitive data is stored securely in the database
64- <manual:qe-features-encryption-at-rest>`.
60+ makemigrations `` and run the migrations with ``python manage.py migrate
61+ --database encrypted ``. Then create and manipulate instances of the data just
62+ like any other Django model data. The fields will automatically handle
63+ encryption and decryption, ensuring that :ref: `sensitive data is stored securely
64+ in the database <manual:qe-features-encryption-at-rest>`.
6565
6666Querying encrypted fields
6767-------------------------
You can’t perform that action at this time.
0 commit comments