mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.
This commit is contained in:
parent
1ec3f0961f
commit
32940d390a
24 changed files with 542 additions and 90 deletions
|
@ -2629,7 +2629,7 @@ A set of Django template filters useful for adding a "human touch" to data. See
|
|||
To link to static files that are saved in :setting:`STATIC_ROOT` Django ships
|
||||
with a :ttag:`static` template tag. If the :mod:`django.contrib.staticfiles`
|
||||
app is installed, the tag will serve files using ``url()`` method of the
|
||||
storage specified by :setting:`STATICFILES_STORAGE`. For example::
|
||||
storage specified by ``staticfiles`` in :setting:`STORAGES`. For example::
|
||||
|
||||
{% load static %}
|
||||
<img src="{% static 'images/hi.jpg' %}" alt="Hi!">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue