mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Removed obsolete doc references to javascript_catalog.
This commit is contained in:
@@ -583,8 +583,8 @@ domain):
|
||||
translations shipped with applications by using the :setting:`LOCALE_PATHS`
|
||||
setting is now possible for this domain too. These translations have higher
|
||||
precedence than the translations of Python packages passed to the
|
||||
:ref:`javascript_catalog view <javascript_catalog-view>`. Paths listed first
|
||||
have higher precedence than the ones listed later.
|
||||
``javascript_catalog()`` view. Paths listed first have higher precedence than
|
||||
the ones listed later.
|
||||
|
||||
* Translations under the ``locale`` subdirectory of the *project directory*
|
||||
have never been taken in account for JavaScript translations and remain in
|
||||
|
||||
@@ -1742,7 +1742,7 @@ will be removed in Django 1.9. You can simply remove the
|
||||
--------------------------------------
|
||||
|
||||
``javascript_quote()`` was an undocumented function present in ``django.utils.text``.
|
||||
It was used internally in the :ref:`javascript_catalog view <javascript_catalog-view>`
|
||||
It was used internally in the ``javascript_catalog()`` view
|
||||
whose implementation was changed to make use of ``json.dumps()`` instead.
|
||||
If you were relying on this function to provide safe output from untrusted
|
||||
strings, you should use ``django.utils.html.escapejs`` or the
|
||||
|
||||
Reference in New Issue
Block a user