From 9746cb893e773aaa1f35be4930614fff01d8897f Mon Sep 17 00:00:00 2001 From: Jacob Coffee Date: Tue, 17 Sep 2024 15:17:11 -0500 Subject: [PATCH] chore: remove unused code --- downloads/views.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/downloads/views.py b/downloads/views.py index 994c0e8c9..bda49177a 100644 --- a/downloads/views.py +++ b/downloads/views.py @@ -2,7 +2,6 @@ from datetime import datetime -from django.core.handlers.wsgi import WSGIRequest from django.db.models import Prefetch from django.urls import reverse from django.utils import timezone @@ -174,11 +173,6 @@ def link() -> str: """Return the URL to the main downloads page.""" return reverse("downloads:download") - def get_feed(self, obj: Any, request: WSGIRequest) -> Feed: - """Store the request object for later use.""" - self.request = request - return super().get_feed(obj, request) - def items(self) -> list[dict[str, Any]]: """Return the latest Python releases.""" return Release.objects.filter(is_published=True).order_by("-release_date")[:10]