summaryrefslogtreecommitdiff
path: root/django/utils/feedgenerator.py
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-09-09 18:34:33 +0000
committerJannis Leidel <jannis@leidel.info>2011-09-09 18:34:33 +0000
commite55bbf4c3c42b17d52c21bc3a460b4981fdc190c (patch)
treed280137bd85c22266f81378619ea3dc64e47a1d8 /django/utils/feedgenerator.py
parent8258fe7845afda1f6820d2ed385d281ced20c943 (diff)
Fixed #15237 -- Fixed a typo in specifying UTF-8 encoding in the feed generator and signing tests. Thanks, Aymeric Augustin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils/feedgenerator.py')
-rw-r--r--django/utils/feedgenerator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/feedgenerator.py b/django/utils/feedgenerator.py
index e23fde71ae..28a83f2f42 100644
--- a/django/utils/feedgenerator.py
+++ b/django/utils/feedgenerator.py
@@ -285,7 +285,7 @@ class Rss201rev2Feed(RssFeed):
class Atom1Feed(SyndicationFeed):
# Spec: http://atompub.org/2005/07/11/draft-ietf-atompub-format-10.html
- mime_type = 'application/atom+xml; charset=utf8'
+ mime_type = 'application/atom+xml; charset=utf-8'
ns = u"http://www.w3.org/2005/Atom"
def write(self, outfile, encoding):