docs: fixup code blocks rendering (#4594)

This commit is contained in:
Riccardo Magliocchetti
2018-03-11 19:34:58 +01:00
committed by Maxime Beauchemin
parent f9881101ee
commit 1d27fb30ff
3 changed files with 7 additions and 7 deletions

View File

@@ -588,7 +588,7 @@ at the ``/simple_page`` url. This can allow you to run other things such
as custom data visualization applications alongside Superset, on the
same server.
..code ::
.. code-block:: python
from flask import Blueprint
simple_page = Blueprint('simple_page', __name__,
@@ -609,7 +609,7 @@ are logged as well as key events like query start and end in SQL Lab.
To setup StatsD logging, it's a matter of configuring the logger in your
``superset_config.py``.
..code ::
.. code-block:: python
from superset.stats_logger import StatsdStatsLogger
STATS_LOGGER = StatsdStatsLogger(host='localhost', port=8125, prefix='superset')