diff options
author | 2021-05-14 12:34:19 +0800 | |
---|---|---|
committer | 2021-05-14 12:34:19 +0800 | |
commit | 3506646251b03a13880f0a8e95256439dcdddab9 (patch) | |
tree | 975644cd1842760c7dfeb524b8237611f34f24e7 /pydis_site/settings.py | |
parent | Merge pull request #478 from python-discord/content-migration (diff) | |
parent | Make tests expect 302. (diff) |
Merge pull request #485 from python-discord/ks129/dewikification/redirection
Dewikification - Implement redirections app
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r-- | pydis_site/settings.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py index d409bb21..65bd8e7a 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -87,6 +87,7 @@ INSTALLED_APPS = [ 'pydis_site.apps.resources', 'pydis_site.apps.content', 'pydis_site.apps.events', + 'pydis_site.apps.redirect', 'django.contrib.admin', 'django.contrib.auth', @@ -290,3 +291,5 @@ EVENTS_PAGES_PATH = Path(BASE_DIR, "pydis_site", "templates", "events", "pages") # Path for content pages CONTENT_PAGES_PATH = Path(BASE_DIR, "pydis_site", "apps", "content", "resources") + +REDIRECTIONS_PATH = Path(BASE_DIR, "pydis_site", "apps", "redirect", "redirects.yaml") |