diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2012-08-15 01:54:18 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@rd.io> | 2012-08-15 01:54:18 -0700 |
| commit | 31ae103a1530752d0ee54e3883ca141a1cdb3f87 (patch) | |
| tree | 31b05c15168721c7b3bbcce49568fade7f14ee7c | |
| parent | cca01c96d18f72cfc156ccfade769735b9de4f98 (diff) | |
Fixed syndication under python3.
| -rw-r--r-- | django/contrib/syndication/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/syndication/views.py b/django/contrib/syndication/views.py index bce7ef7cfb..4815ce5567 100644 --- a/django/contrib/syndication/views.py +++ b/django/contrib/syndication/views.py @@ -106,7 +106,7 @@ class Feed(object): subtitle = self.__get_dynamic_attr('subtitle', obj), link = link, description = self.__get_dynamic_attr('description', obj), - language = settings.LANGUAGE_CODE.decode(), + language = settings.LANGUAGE_CODE, feed_url = add_domain( current_site.domain, self.__get_dynamic_attr('feed_url', obj) or request.path, |
