Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed syndication under python3.

  • Loading branch information...
commit 31ae103a1530752d0ee54e3883ca141a1cdb3f87 1 parent cca01c9
@alex alex authored Alex Gaynor committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/syndication/views.py
View
2  django/contrib/syndication/views.py
@@ -106,7 +106,7 @@ def get_feed(self, obj, request):
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,
Please sign in to comment.
Something went wrong with that request. Please try again.