Skip to content

Commit 0873d90

Browse files
jadeidevGibbsConsulting
authored andcommitted
Add request object to call back (#217)
request object so that callback can use request.META
1 parent f6988e9 commit 0873d90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

django_plotly_dash/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def _update(request, ident, stateless=False, **kwargs):
9797
arg_map = {'dash_app_id': ident,
9898
'dash_app': dash_app,
9999
'user': request.user,
100+
'request':request,
100101
'session_state': app_state}
101102
resp = app.dispatch_with_args(request_body, arg_map)
102103
request.session['django_plotly_dash'] = app_state

0 commit comments

Comments
 (0)