aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-05-13 21:03:13 +0800
committerGravatar kosayoda <[email protected]>2021-05-13 21:03:13 +0800
commit1395e919b38f8c58c08fe5d4b7d169c96dec9e26 (patch)
tree87540e44223a3489e9876e11f1e77ea67f927e46 /pydis_site/apps
parentRoute navbar links to their new locations. (diff)
Use temporary redirects for now.
Diffstat (limited to 'pydis_site/apps')
-rw-r--r--pydis_site/apps/redirect/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pydis_site/apps/redirect/views.py b/pydis_site/apps/redirect/views.py
index 21180cdf..9dc9881a 100644
--- a/pydis_site/apps/redirect/views.py
+++ b/pydis_site/apps/redirect/views.py
@@ -6,7 +6,9 @@ from django.views.generic import RedirectView
class CustomRedirectView(RedirectView):
"""Extended RedirectView for manual route args."""
- permanent = True
+ # We want temporary redirects for the time being, after this is running on prod and
+ # stable we can enable permanent redirects.
+ permanent = False
static_args = ()
prefix_redirect = False