Skip to content

Commit 42e80e8

Browse files
brylieGibbsConsulting
authored andcommitted
Add note to emphasize necessary imports (#103)
Fixes #102
1 parent 865396c commit 42e80e8

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/simple_use.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,10 @@ Direct use in this manner, without any application state or
6262
use of live updating, is equivalent to inserting an ``iframe`` containing the
6363
URL of a ``Dash`` application.
6464

65-
The registration code needs to be in a location
66-
that will be imported into the Django process before any model or
67-
template tag attempts to use it. The example Django application
68-
in the demo subdirectory achieves this through an import in the main urls.py file; any views.py would also be sufficient.
65+
.. note::
66+
The registration code needs to be in a location
67+
that will be imported into the Django process before any model or
68+
template tag attempts to use it. The example Django application
69+
in the demo subdirectory achieves this through an import in the main ``urls.py`` file,
70+
but any ``views.py`` would also be sufficient.
6971

0 commit comments

Comments
 (0)