[1.0.X] Fixed #10141 -- Added a missing import to the complex Feed example. Thanks to Temoto for the report.
Merge of r9858 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
429b57d642
commit
8519146963
|
@ -213,6 +213,7 @@ the feed.
|
||||||
An example makes this clear. Here's the code for these beat-specific feeds::
|
An example makes this clear. Here's the code for these beat-specific feeds::
|
||||||
|
|
||||||
from django.contrib.syndication.feeds import FeedDoesNotExist
|
from django.contrib.syndication.feeds import FeedDoesNotExist
|
||||||
|
from django.core.exceptions import ObjectDoesNotExist
|
||||||
|
|
||||||
class BeatFeed(Feed):
|
class BeatFeed(Feed):
|
||||||
def get_object(self, bits):
|
def get_object(self, bits):
|
||||||
|
|
Loading…
Reference in New Issue