Skip to content

Commit fd19d80

Browse files
delsimGibbsConsulting
authored andcommitted
Change serve_locally default to always be false (#155)
1 parent fbe45df commit fd19d80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

django_plotly_dash/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def static_asset_path(module_name, asset_path):
109109
return static_path(full_asset_path(module_name, asset_path))
110110

111111
def serve_locally():
112-
return _get_settings().get('serve_locally', settings.DEBUG)
112+
return _get_settings().get('serve_locally', False)
113113

114114
def static_path(relative_path):
115115
try:

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ below.
3232
"cache_arguments": True,
3333
3434
# Flag controlling local serving of assets
35-
"serve_locally': settings.DEBUG,
35+
"serve_locally': False,
3636
}
3737
3838
Defaults are inserted for missing values. It is also permissible to not have any ``PLOTLY_DASH`` entry in

0 commit comments

Comments
 (0)