Skip to content

Commit affccd8

Browse files
delsimGibbsConsulting
authored andcommitted
Patch release 0.9.4 (#80)
* Bump version number for patch release * Minor adjustments to keep linter happy * Updated frozen pip packages list
1 parent c2cba96 commit affccd8

File tree

6 files changed

+21
-10
lines changed

6 files changed

+21
-10
lines changed

django_plotly_dash/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
SOFTWARE.
2727
'''
2828

29-
__version__ = "0.9.3"
29+
__version__ = "0.9.4"
3030

3131
from .dash_wrapper import DjangoDash

django_plotly_dash/access.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def login_required(view_function, **kwargs):
3636
try:
3737
dash_view_decorator = locals()[dash_view_decorator_name]
3838
except:
39-
mod_name, func_name = dash_view_decorator_name.rsplit('.',1)
39+
mod_name, func_name = dash_view_decorator_name.rsplit('.', 1)
4040
if len(mod_name):
4141
mod = importlib.import_module(mod_name)
4242
dash_view_decorator = getattr(mod, func_name)
@@ -49,6 +49,6 @@ def process_view_function(view_function, **kwargs):
4949
'Process view function and wrap according to settings'
5050

5151
if dash_view_decorator:
52-
return dash_view_decorator(view_function,**kwargs)
52+
return dash_view_decorator(view_function, **kwargs)
5353

5454
return view_function

django_plotly_dash/middleware.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ def adjust_response(self, response):
4444

4545
try:
4646
c1 = self._replace(response.content,
47-
self.header_placeholder,
48-
self.embedded_holder.css)
47+
self.header_placeholder,
48+
self.embedded_holder.css)
4949

5050
response.content = self._replace(c1,
51-
self.footer_placeholder,
52-
"\n".join([self.embedded_holder.config,
51+
self.footer_placeholder,
52+
"\n".join([self.embedded_holder.config,
5353
self.embedded_holder.scripts]))
5454
except AttributeError:
5555
# Catch the "FileResponse instance has no `content` attribute" error when serving media files in the Django development server.

django_plotly_dash/templatetags/plotly_dash.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,6 @@ def plotly_class(name=None, slug=None, da=None, prefix=None, postfix=None, templ
144144

145145
@register.simple_tag(takes_context=True)
146146
def site_root_url(context):
147+
'Provide the root url of the demo site'
147148
current_site_url = get_current_site(context.request)
148149
return current_site_url.domain

docs/template_tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ suitable for inclusion in a base template. Neither tag has
108108
any arguments.
109109

110110
Note that if you are using any functionality that needs the use of these tags, then the associated middleware
111-
should be added in ``settings.py`` as mentioned in the :ref:`installation <installation>` section.
111+
should be added in ``settings.py``
112112

113113
.. code-block:: python
114114

frozen_dev.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
aioredis==1.1.0
2+
alabaster==0.7.12
23
argh==0.26.2
34
asgiref==2.3.2
45
astroid==2.0.4
@@ -7,6 +8,7 @@ atomicwrites==1.2.1
78
attrs==18.2.0
89
autobahn==18.8.2
910
Automat==0.7.0
11+
Babel==2.6.0
1012
certifi==2018.8.24
1113
channels==2.1.3
1214
channels-redis==2.3.0
@@ -15,23 +17,25 @@ click==6.7
1517
constantly==15.1.0
1618
coverage==4.5.1
1719
daphne==2.2.2
18-
dash==0.26.3
20+
dash==0.28.5
1921
dash-core-components==0.28.1
2022
dash-html-components==0.11.0
2123
dash-renderer==0.13.2
2224
decorator==4.3.0
2325
Django==2.1.1
2426
django-bootstrap4==0.0.7
25-
-e git+https://github.com/delsim/django-plotly-dash.git@f33f6007c47c966cd5fee618b9d8fbffea36b9ba#egg=django_plotly_dash
27+
-e git+https://github.com/delsim/django-plotly-dash.git@1a6a184eac871a0a675fa971fe4c10c3dac195d8#egg=django_plotly_dash
2628
django-redis==4.9.0
2729
docopt==0.6.2
30+
docutils==0.14
2831
dpd-components==0.1.0
2932
Flask==1.0.2
3033
Flask-Compress==1.4.0
3134
grip==4.5.2
3235
hiredis==0.2.0
3336
hyperlink==18.0.0
3437
idna==2.7
38+
imagesize==1.1.0
3539
incremental==17.5.0
3640
ipython-genutils==0.2.0
3741
isort==4.3.4
@@ -48,6 +52,7 @@ more-itertools==4.3.0
4852
msgpack==0.5.6
4953
nbformat==4.4.0
5054
numpy==1.15.1
55+
packaging==18.0
5156
pandas==0.23.4
5257
path-and-address==2.0.1
5358
pathlib2==2.3.2
@@ -61,6 +66,7 @@ py==1.6.0
6166
Pygments==2.2.0
6267
PyHamcrest==1.9.0
6368
pylint==2.1.1
69+
pyparsing==2.3.0
6470
pytest==3.7.4
6571
pytest-cov==2.5.1
6672
pytest-django==3.4.2
@@ -72,7 +78,11 @@ requests==2.19.1
7278
requests-toolbelt==0.8.0
7379
retrying==1.3.3
7480
six==1.11.0
81+
snowballstemmer==1.2.1
82+
Sphinx==1.8.1
7583
sphinx-autobuild==0.7.1
84+
sphinx-rtd-theme==0.4.2
85+
sphinxcontrib-websupport==1.1.0
7686
tornado==5.1
7787
tqdm==4.25.0
7888
traitlets==4.3.2

0 commit comments

Comments
 (0)