Skip to main content

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

django-static-root-finder-0.2.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file django-static-root-finder-0.2.0.tar.gz.

File metadata

File hashes

Hashes for django-static-root-finder-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8c1782e32639122f61461cdb866325653eaaa04fa8204786802141c47d0c09fe
MD5 2352dfd924ddc0b972d9371671d52172
BLAKE2b-256 3aa5f566b9f484d1c09b0ed981b794bb2b08d24d49c3a9ea53d3bfc76f5753eb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page