aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/views/resources.py
blob: e778ab6147ae8fd1dc5073f6d38c399b864c2407 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from django.core.handlers.wsgi import WSGIRequest
from django.http import HttpResponse
from django.shortcuts import render
from django.views import View


class ResourcesView(View):
    """Handles base resources page that shows different resource types."""

    def get(self, request: WSGIRequest) -> HttpResponse:
        """Show base resources page."""
        return render(request, "resources/resources.html")