Skip to content

Releases: pipech/frappe-plotly-dash

Pass request from frappe app to dash app

07 Nov 14:51
34925e9
Compare
Choose a tag to compare

fix(embed): fix server embedding #1

Embed using DispatcherMiddleware

07 Nov 14:42
Compare
Choose a tag to compare

Using werkzeug.wsgi.DispatcherMiddleware to attach dash server with frappe server.
Using iframe to embed dash application to frappe page.

Problem:

  • Dash application can't access frappe local variable so it has to run frappe connect every time it received request
  • Can't call frappe local variables such as frappe.session.user