diff --git a/README.rst b/README.rst index ccdb1ff..4e766dc 100644 --- a/README.rst +++ b/README.rst @@ -66,13 +66,14 @@ any anomalies to the ``Anomaly`` model. and an attribute ``model`` of type ``models.MyModel``. Here is an example: - \```python from datetime import datetime from django\ *dharma.base + `` + from datetime import datetime + + from django\ *dharma.base import count*\ check from myapp import models class MyModelCheck: model = models.MyModel - :: - def run_checks(self) -> None: """ Verifies that the 'foo' column contains only 'biz' and 'foo' values. @@ -97,7 +98,7 @@ any anomalies to the ``Anomaly`` model. print("All checks passed!") - \``\` + `` #. **Run the checks:**