1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #29352 -- Allowed specifying a Feed language.

This commit is contained in:
Tobias Kunze
2019-04-10 23:48:58 +02:00
committed by Mariusz Felisiak
parent 86a3ad351e
commit 3166880301
6 changed files with 30 additions and 5 deletions

View File

@@ -116,7 +116,10 @@ Minor features
:mod:`django.contrib.syndication`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* ...
* Added the ``language`` class attribute to the
:class:`django.contrib.syndication.views.Feed` to customize a feed language.
The default value is :func:`~django.utils.translation.get_language()` instead
of setting:`LANGUAGE_CODE`.
Cache
~~~~~