1
0
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:
Marcelo Galigniana
2022-05-02 00:20:00 -03:00
committed by Mariusz Felisiak
parent 9d3b812001
commit 0210dbcbe3
4 changed files with 106 additions and 6 deletions

View File

@@ -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/",