Skip to content

Commit 6d2f88e

Browse files
ncvcRoss Mechanic
authored andcommitted
Fixed docs/multiple_dbs.rst formatting issue (#558)
1 parent af20c82 commit 6d2f88e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/multiple_dbs.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Tracking History Separate from the Base Model
4545
You can choose whether or not to track models' history in the same database by
4646
setting the flag `use_base_model_db`.
4747

48-
```
49-
class MyModel(models.Model):
50-
...
51-
history = HistoricalRecords(use_base_model_db=False)
52-
```
48+
.. code-block:: python
49+
50+
class MyModel(models.Model):
51+
...
52+
history = HistoricalRecords(use_base_model_db=False)
5353
5454
If set to `True`, migrations and audit
5555
events will be sent to the same database as the base model. If `False`, they

0 commit comments

Comments
 (0)