Fixed #6303 -- Handle missing language specification in feed generation. Thanks, david.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2008-02-03 03:23:10 +00:00
parent 787acefc73
commit 8926a10fea
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class SyndicationFeed(object):
'title': to_unicode(title),
'link': iri_to_uri(link),
'description': to_unicode(description),
'language': force_unicode(language),
'language': to_unicode(language),
'author_email': to_unicode(author_email),
'author_name': to_unicode(author_name),
'author_link': iri_to_uri(author_link),