Fixed syndication under python3.

This commit is contained in:
Alex Gaynor 2012-08-15 01:54:18 -07:00 committed by Alex Gaynor
parent cca01c96d1
commit 31ae103a15
1 changed files with 1 additions and 1 deletions

View File

@ -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,