mirror of
https://github.com/django/django.git
synced 2025-07-24 21:54:14 +00:00
[1.5.x] Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
Backport of 9b755a2
from master.
This commit is contained in:
parent
9fa6aa9534
commit
a586f2a7e5
5 changed files with 10 additions and 32 deletions
|
@ -140,6 +140,11 @@ these changes.
|
|||
removed. In its place use
|
||||
:class:`~django.contrib.staticfiles.handlers.StaticFilesHandler`.
|
||||
|
||||
* The template tags library ``adminmedia`` and the template tag ``{%
|
||||
admin_media_prefix %}`` will be removed in favor of the generic static files
|
||||
handling. (This is faster than the usual deprecation path; see the
|
||||
:doc:`Django 1.4 release notes</releases/1.4>`.)
|
||||
|
||||
* The :ttag:`url` and :ttag:`ssi` template tags will be
|
||||
modified so that the first argument to each tag is a template variable, not
|
||||
an implied string. In 1.4, this behavior is provided by a version of the tag
|
||||
|
@ -232,10 +237,6 @@ these changes.
|
|||
:setting:`LOGGING` setting should include this filter explicitly if
|
||||
it is desired.
|
||||
|
||||
* The template tag
|
||||
:func:`django.contrib.admin.templatetags.adminmedia.admin_media_prefix`
|
||||
will be removed in favor of the generic static files handling.
|
||||
|
||||
* The builtin truncation functions :func:`django.utils.text.truncate_words`
|
||||
and :func:`django.utils.text.truncate_html_words` will be removed in
|
||||
favor of the ``django.utils.text.Truncator`` class.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue