We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af20c82 commit 6d2f88eCopy full SHA for 6d2f88e
docs/multiple_dbs.rst
@@ -45,11 +45,11 @@ Tracking History Separate from the Base Model
45
You can choose whether or not to track models' history in the same database by
46
setting the flag `use_base_model_db`.
47
48
-```
49
-class MyModel(models.Model):
50
- ...
51
- history = HistoricalRecords(use_base_model_db=False)
52
+.. code-block:: python
+
+ class MyModel(models.Model):
+ ...
+ history = HistoricalRecords(use_base_model_db=False)
53
54
If set to `True`, migrations and audit
55
events will be sent to the same database as the base model. If `False`, they
0 commit comments