diff --git a/pythonsd/urls.py b/pythonsd/urls.py index 4863066..c71d7c6 100644 --- a/pythonsd/urls.py +++ b/pythonsd/urls.py @@ -67,6 +67,21 @@ r"pages/job-posting-guidelines.html", generic.RedirectView.as_view(url="/", permanent=False), ), + # URL shortcuts for popular external links + path( + r"discord/", + generic.RedirectView.as_view( + url="https://discord.gg/8GpWuVvdbQ", + permanent=False, + ), + ), + path( + r"youtube/", + generic.RedirectView.as_view( + url="https://www.youtube.com/@sandiegopython/streams", + permanent=False, + ), + ), ] urlpatterns += redirects