Fixed #22490 -- removed obsolete ComplexFeed class from syndication_tests
It was previously used in a test that was deprecated and then removed, this cruft can be removed now.
This commit is contained in:
parent
424fe76349
commit
1ab278f39d
|
@ -8,13 +8,6 @@ from django.utils.timezone import get_fixed_timezone
|
||||||
from .models import Article, Entry
|
from .models import Article, Entry
|
||||||
|
|
||||||
|
|
||||||
class ComplexFeed(views.Feed):
|
|
||||||
def get_object(self, request, foo=None):
|
|
||||||
if foo is not None:
|
|
||||||
raise ObjectDoesNotExist
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
class TestRss2Feed(views.Feed):
|
class TestRss2Feed(views.Feed):
|
||||||
title = 'My blog'
|
title = 'My blog'
|
||||||
description = 'A more thorough description of my blog.'
|
description = 'A more thorough description of my blog.'
|
||||||
|
|
|
@ -4,7 +4,6 @@ from . import feeds
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
url(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
|
|
||||||
url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
|
url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
|
||||||
url(r'^syndication/rss2/guid_ispermalink_true/$',
|
url(r'^syndication/rss2/guid_ispermalink_true/$',
|
||||||
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
|
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
|
||||||
|
|
Loading…
Reference in New Issue