Kaydet (Commit) 1ab278f3 authored tarafından Nikolaus Schlemm's avatar Nikolaus Schlemm Kaydeden (comit) Tim Graham

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.
üst 424fe763
......@@ -8,13 +8,6 @@ from django.utils.timezone import get_fixed_timezone
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):
title = 'My blog'
description = 'A more thorough description of my blog.'
......
......@@ -4,7 +4,6 @@ from . import feeds
urlpatterns = [
url(r'^syndication/complex/(?P<foo>.*)/$', feeds.ComplexFeed()),
url(r'^syndication/rss2/$', feeds.TestRss2Feed()),
url(r'^syndication/rss2/guid_ispermalink_true/$',
feeds.TestRss2FeedWithGuidIsPermaLinkTrue()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment