fastack-staticfiles

Easy to add static files


License
MIT
Install
pip install fastack-staticfiles==0.1.0

Documentation

fastack-staticfiles

Easy to add static files

Usage

pip install fastack-staticfiles

Add the plugin to your project configuration

PLUGINS = [
    "fastack_staticfiles",
    ...
]

Plugin configuration example

STATICFILES = [
    (
        "/static",
        "static",
        {"directory": "assets", "packages": [], "html": False, "check_dir": True},
    )
]

Configuration format like this (path: str, name: str, options: dict) The options here will be passed to starlette.staticfiles.StaticFiles.