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
This commit is contained in:
Russell Keith-Magee 2009-02-22 06:07:21 +00:00
parent 16d67a11ac
commit b77bf5291a
1 changed files with 17 additions and 16 deletions

View File

@ -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):