mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.1.x] Fixed #22078 -- Fixed crash of Feed with decorated methods.
Backport of 8c0886b068 from main.
This commit is contained in:
committed by
Mariusz Felisiak
parent
9d3b812001
commit
0210dbcbe3
@@ -4,7 +4,14 @@ from . import feeds
|
||||
|
||||
urlpatterns = [
|
||||
path("syndication/rss2/", feeds.TestRss2Feed()),
|
||||
path("syndication/rss2/with-static-methods/", feeds.TestRss2FeedWithStaticMethod()),
|
||||
path(
|
||||
"syndication/rss2/with-decorated-methods/",
|
||||
feeds.TestRss2FeedWithDecoratedMethod(),
|
||||
),
|
||||
path(
|
||||
"syndication/rss2/with-wrong-decorated-methods/",
|
||||
feeds.TestRss2FeedWithWrongDecoratedMethod(),
|
||||
),
|
||||
path("syndication/rss2/articles/<int:entry_id>/", feeds.TestGetObjectFeed()),
|
||||
path(
|
||||
"syndication/rss2/guid_ispermalink_true/",
|
||||
|
||||
Reference in New Issue
Block a user