mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #21221 -- Made form Media and static template tag use staticfiles if installed.
This commit is contained in:
committed by
Tim Graham
parent
6be9589eb3
commit
cf546e11ac
@@ -127,7 +127,11 @@ Minor features
|
||||
:mod:`django.contrib.staticfiles`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
* ...
|
||||
* The :ttag:`static` template tag now uses ``django.contrib.staticfiles``
|
||||
if it's in ``INSTALLED_APPS``. This is especially useful for third-party apps
|
||||
which can now always use ``{% load static %}`` (instead of
|
||||
``{% load staticfiles %}`` or ``{% load static from staticfiles %}``) and
|
||||
not worry about whether or not the ``staticfiles`` app is installed.
|
||||
|
||||
:mod:`django.contrib.syndication`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
@@ -169,7 +173,8 @@ File Uploads
|
||||
Forms
|
||||
^^^^^
|
||||
|
||||
* ...
|
||||
* Form and widget ``Media`` is now served using
|
||||
:mod:`django.contrib.staticfiles` if installed.
|
||||
|
||||
Generic Views
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user