A static files finder to find files in the STATIC_ROOT directory.
Project description
A static files finder to find files in the STATIC_ROOT directory.
Setup
# settings.py
STATICFILES_FINDERS = ['django_static_root_finder.finders.StaticRootFinder']
Definition
Set your STATIC_ROOT. E.g.:
# settings.py
STATIC_ROOT = 'static' # For example
STATIC_URL = '/static/'
Usage
The URL http://example.com/static/css/global.css should successfully link to ./static/css/global.css.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-static-root-finder-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99cd8bc05efde40aea1151829bf693f9b3fa8ec332ad7bd3aa9886af62bfbe9 |
|
MD5 | d75af4a9fcff70a5cb4dcf144ee3d586 |
|
BLAKE2b-256 | 4f8ffff0e2918479f3a3d95aaf496f790b32f80ddc1c3edbb480fa55af30d3ac |