Skip to content

Commit

Permalink
Syndication Feed items do not need to be Model instances (#1444)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigfootjon authored Apr 26, 2023
1 parent b15d602 commit 4ab0159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/contrib/syndication/views.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def add_domain(domain: str, url: str, secure: bool = ...) -> str: ...

class FeedDoesNotExist(ObjectDoesNotExist): ...

_Item = TypeVar("_Item", bound=Model)
_Item = TypeVar("_Item")
_Object = TypeVar("_Object")

class Feed(Generic[_Item, _Object]):
Expand Down

0 comments on commit 4ab0159

Please sign in to comment.