aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/resources/views
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/apps/resources/views')
-rw-r--r--pydis_site/apps/resources/views/__init__.py3
-rw-r--r--pydis_site/apps/resources/views/resources.py7
2 files changed, 10 insertions, 0 deletions
diff --git a/pydis_site/apps/resources/views/__init__.py b/pydis_site/apps/resources/views/__init__.py
new file mode 100644
index 00000000..f54118f2
--- /dev/null
+++ b/pydis_site/apps/resources/views/__init__.py
@@ -0,0 +1,3 @@
+from .resources import ResourcesView
+
+__all__ = ["ResourcesView"]
diff --git a/pydis_site/apps/resources/views/resources.py b/pydis_site/apps/resources/views/resources.py
new file mode 100644
index 00000000..e770954b
--- /dev/null
+++ b/pydis_site/apps/resources/views/resources.py
@@ -0,0 +1,7 @@
+from django.views.generic import TemplateView
+
+
+class ResourcesView(TemplateView):
+ """View for resources index page."""
+
+ template_name = "resources/resources.html"