Commit b77bf529 authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to...

Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to Temoto for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 16d67a11
Loading
Loading
Loading
Loading
+17 −16
Original line number Diff line number Diff line
@@ -213,6 +213,7 @@ the feed.
An example makes this clear. Here's the code for these beat-specific feeds::

    from django.contrib.syndication.feeds import FeedDoesNotExist
    from django.core.exceptions import ObjectDoesNotExist

    class BeatFeed(Feed):
        def get_object(self, bits):