You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/installation.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,10 +52,10 @@ database::
52
52
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.
53
53
54
54
.. note::
55
-
An easy way to ensure the Plotly app is to import it into ``views.py`` or ``urls.py`` as in the following example,
55
+
An easy way to register the Plotly app is to import it into ``views.py`` or ``urls.py`` as in the following example,
56
56
which assumes the ``plotly_app`` module (``plotly_app.py``) is located in the same folder as ``views.py``::
57
57
58
-
from . import plotly_app
58
+
``from . import plotly_app``
59
59
60
60
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.
0 commit comments