mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-23 16:14:48 +00:00
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.
I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
|
||
|---|---|---|
| .. | ||
| customisation | ||
| i18n | ||
| images | ||
| deploying.rst | ||
| index.rst | ||
| jinja2.rst | ||
| performance.rst | ||
| privacy.rst | ||
| settings.rst | ||
| testing.rst | ||
| third_party_tutorials.rst | ||