Easy to add static files
Project description
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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fastack-staticfiles-0.1.0.tar.gz
.
File metadata
- Download URL: fastack-staticfiles-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d488d0f2fb5a3ec32ca13051e913f0107c8ebbb71eb81d773710787ebee39a52 |
|
MD5 | d0c265b0f2db7ce9fa779756e734c615 |
|
BLAKE2b-256 | df2afeee050097ef8535f5023ac2b85223a83582b8a98f6c0c570ec7ba38d38b |
File details
Details for the file fastack_staticfiles-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: fastack_staticfiles-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.12 CPython/3.8.2 Linux/5.11.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600e25345b467baeb1699474b49adac15ac17eecf4908ab15a0a9853f03b1ba5 |
|
MD5 | 875f9cb2109082480827c4a75d8f58f6 |
|
BLAKE2b-256 | 74f803b13fe0081c9cee28cc2428b8d21c411a24779050e3d77a2cff09bee930 |