We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25ff25 commit 9746cb8Copy full SHA for 9746cb8
downloads/views.py
@@ -2,7 +2,6 @@
2
3
from datetime import datetime
4
5
-from django.core.handlers.wsgi import WSGIRequest
6
from django.db.models import Prefetch
7
from django.urls import reverse
8
from django.utils import timezone
@@ -174,11 +173,6 @@ def link() -> str:
174
173
"""Return the URL to the main downloads page."""
175
return reverse("downloads:download")
176
177
- def get_feed(self, obj: Any, request: WSGIRequest) -> Feed:
178
- """Store the request object for later use."""
179
- self.request = request
180
- return super().get_feed(obj, request)
181
-
182
def items(self) -> list[dict[str, Any]]:
183
"""Return the latest Python releases."""
184
return Release.objects.filter(is_published=True).order_by("-release_date")[:10]
0 commit comments