No project description provided
Project description
blacknoise
Table of Contents
Installation
pip install blacknoise
Using blacknoise with Django to serve static files
from blacknoise import BlackNoise
from django.core.asgi import get_asgi_application
from pathlib import Path
BASE_DIR = Path(__file__).parent
application = BlackNoise(get_asgi_application())
application.add(BASE / "static", "/static")
License
blacknoise
is distributed under the terms of the MIT license.
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
blacknoise-0.0.3.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for blacknoise-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a13202c9095b7670e4ca016badb793ac06258fd5e68a889fdd1c970aac8d7ed4 |
|
MD5 | 07258b41f58970becaf09cd8a504039b |
|
BLAKE2b-256 | af25bc0956710c494a3e6d25935f59a5ae28e1ff195b36d4a14b22482cb95053 |