From 25ad05ad3e888c3f8fcf7ca465c0715a9e4679ed Mon Sep 17 00:00:00 2001 From: Tyler Schlichenmeyer Date: Mon, 17 May 2021 15:43:35 -0500 Subject: [PATCH] Update installation.rst grammar correction + fix missing code block --- docs/installation.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 063941c5..37317bf8 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -52,10 +52,10 @@ database:: It is important to ensure that any applications are registered using the ``DjangoDash`` class. This means that any python module containing the registration code has to be known to Django and loaded at the appropriate time. .. note:: - An easy way to ensure the Plotly app is to import it into ``views.py`` or ``urls.py`` as in the following example, + An easy way to register the Plotly app is to import it into ``views.py`` or ``urls.py`` as in the following example, which assumes the ``plotly_app`` module (``plotly_app.py``) is located in the same folder as ``views.py``:: - from . import plotly_app + ``from . import plotly_app`` Once your Plotly app is registered, ``plotly_app`` tag in the ``plotly_dash`` tag library can then be used to render it as a dash component. See :ref:`simple_use` for a simple example.