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
