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 = ['template_extensions.finders.RootFileFinder']
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.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 780312a0e1124eba8e898c492ebcdd6b0312ab1fb4108b5a60f35d6bc2256f67 |
|
MD5 | 4f896acd7d6d09229a621b7fbf577c28 |
|
BLAKE2b-256 | ab0ea53e0bafefd8bd6ead7bdb63b69706f469666ce84a07fb0756e7695272ff |