The allow_duplicate=True does not work when i run my dash application inside django framework using django-plotly-dash package , any idea what might be the issue or whats the work around to achieve the allow_duplicate functionality otherwise ?
Hello @Aashka,
Make sure you are running the latest version of dash-Django, if so. Check to make sure that dash, in that library can support duplicates and is running a newer version of dash.
Django-plotly-dash is at 80% compatibility, not sure if allow_duplicates is supported. An alternative approach would be to setup dash and django as two separate applications and using an api to communicate between the two. I was able to get this setup via:
This example is basic, connect user login via this method, so login on dash will hit django and authenticate before allowing user to login on dash.
downsides are it would take a complete rebuild of your architecture to setup and its a bit more code needed to be built out to use and maintain because django-plotly-dash puts everything under the same hood, this alternative is like two separate code basses running at the same and youll need to manage an API and link everything with an endpoint. I personally prefer ninja api.