aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/views/home.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-10-17 09:54:06 +0200
committerGravatar GitHub <[email protected]>2020-10-17 09:54:06 +0200
commit6992491f8c5f074e17c34d09553a715425112652 (patch)
tree490d635512bea24ab8bb0d001cf3da37fb917187 /pydis_site/apps/home/views/home.py
parentMerge pull request #411 from ks129/voice-gate (diff)
parentUpdate font sizing (diff)
Merge pull request #381 from python-discord/feat/timeline
100k milestone timeline page
Diffstat (limited to 'pydis_site/apps/home/views/home.py')
-rw-r--r--pydis_site/apps/home/views/home.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pydis_site/apps/home/views/home.py b/pydis_site/apps/home/views/home.py
index 3b5cd5ac..09969f1d 100644
--- a/pydis_site/apps/home/views/home.py
+++ b/pydis_site/apps/home/views/home.py
@@ -126,3 +126,8 @@ class HomeView(View):
"""Collect repo data and render the homepage view."""
repo_data = self._get_repo_data()
return render(request, "home/index.html", {"repo_data": repo_data})
+
+
+def timeline(request: WSGIRequest) -> HttpResponse:
+ """Render timeline view."""
+ return render(request, 'home/timeline.html')