aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pelican/use-django-feedgenerator.patch
blob: 9cd80d2ad5b0fec00b19698239287b91ff081955 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/pelican/writers.py b/pelican/writers.py
index e90a000..1304188 100644
--- a/pelican/writers.py
+++ b/pelican/writers.py
@@ -8,7 +8,7 @@ import logging
 if not six.PY3:
     from codecs import open

-from feedgenerator import Atom1Feed, Rss201rev2Feed
+from django.utils.feedgenerator import Atom1Feed, Rss201rev2Feed
 from jinja2 import Markup
 from six.moves.urllib.parse import urlparse