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:
committed by
Mariusz Felisiak
parent
86a3ad351e
commit
3166880301
@@ -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
|
||||
~~~~~
|
||||
|
||||
Reference in New Issue
Block a user