Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated documentation of SharedDataMiddleware #1735

Closed
magula opened this issue Feb 20, 2020 · 2 comments
Closed

Outdated documentation of SharedDataMiddleware #1735

magula opened this issue Feb 20, 2020 · 2 comments
Labels

Comments

@magula
Copy link
Contributor

magula commented Feb 20, 2020

It seems that SharedDataMiddleware was moved to middleware.shared_data, but its documentation still says

    """A WSGI middleware that provides static content for development
    environments or simple server setups. Usage is quite simple::
        import os
        from werkzeug.wsgi import SharedDataMiddleware
[...]
    """

and the tutorial still says
from werkzeug.wsgi import SharedDataMiddleware.

@davidism davidism added the docs label Feb 20, 2020
@davidism
Copy link
Member

I'm happy to consider a PR against the 1.0.x branch that address these docs.

@magula
Copy link
Contributor Author

magula commented Feb 20, 2020

Splendid, I've created a pull request, see #1736.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants