Skip to content

Commit 3205973

Browse files
author
Mark Gibbs
committed
Increment prerelease version number to 0.4.0
1 parent 3b85b4e commit 3205973

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

django_plotly_dash/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22

3-
__version__ = "0.3.0"
3+
__version__ = "0.4.0"
44

55
from .dash_wrapper import DjangoDash
66

docs/installation.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Then, add ``django_plotly_dash`` to ``INSTALLED_APPS`` in the Django ``settings.
1515
...
1616
]
1717

18-
The project directory name ``django_plotly_dash`` can also be used on its own if preferred, but this will then skip the use of readable application names in
18+
The project directory name ``django_plotly_dash`` can also be used on its own if preferred, but this will stop the use of readable application names in
1919
the Django admin interface.
2020

2121
The application's routes need to be registered within the routing structure by an appropriate ``include`` statement in
@@ -26,13 +26,17 @@ a ``urls.py`` file::
2626
path('django_plotly_dash/', include('django_plotly_dash.urls')),
2727
]
2828

29-
Finally, a migration is needed to update the
29+
The name within the URL is not important and can be changed.
30+
31+
For the final installation step, a migration is needed to update the
3032
database::
3133

3234
./manage.py migrate
3335

3436
The ``plotly_item`` tag in the ``plotly_dash`` tag library can then be used to render any registered dash component. See :ref:`simple_use` for a simple example.
3537

38+
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. An easy way to ensure this is to import these modules into a standard Django file loaded at registration time.
39+
3640
Source code and demo
3741
--------------------
3842

@@ -54,3 +58,6 @@ To install and run it::
5458

5559
This will launch a simple Django application. A superuser account is also configured, with both username and password set to ``admin``.
5660

61+
Note that the current demo, along with the codebase, is in a prerelease and very raw form.
62+
63+

0 commit comments

Comments
 (0)