diff options
Diffstat (limited to 'testing/pelican/use-django-feedgenerator.patch')
-rw-r--r-- | testing/pelican/use-django-feedgenerator.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/pelican/use-django-feedgenerator.patch b/testing/pelican/use-django-feedgenerator.patch new file mode 100644 index 0000000000..9cd80d2ad5 --- /dev/null +++ b/testing/pelican/use-django-feedgenerator.patch @@ -0,0 +1,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 |