Django Dash Plotly - Fine-grained control


I am trying to put together a Django app where I need all except 1 dash app needs to be accessible without authentication. The documentation mentions that this is possible but I have no idea where to put this wrapper function.

Has anyone tried this? Is there an example available?


You’ll need to write a wrapper function that is then used on all of the plotly dash functions as per the
configuration docs.

An example function, which delegates all views to the django login_required function, lives at in the codebase. It sounds like you will need a variant that, depending on the specific app, either delegates to this function or just allows the view to be called.