Skip to content

Embed using DispatcherMiddleware

Compare
Choose a tag to compare
@pipech pipech released this 07 Nov 14:42
· 43 commits to master since this release

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