Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirected /fellowship to /fellowships #1149

Merged
merged 2 commits into from Mar 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 4 additions & 7 deletions network-api/networkapi/urls.py
Expand Up @@ -41,13 +41,10 @@
url(r'^wagtail/', include(wagtail_urls))
if settings.ENABLE_WAGTAIL else None,

url(r'^soc/', include('social_django.urls', namespace='social')),

# Don't remove this redirect until Fellowships pages are live
url(r'^fellowships/$', RedirectView.as_view(
url='https://advocacy.mozilla.org/open-web-fellows'
))
if settings.SOCIAL_SIGNIN else None,
url(r'^fellowship/(?P<path>.*)', RedirectView.as_view(
url='/fellowships/%(path)s',
query_string=True
)),

# network-api routes:
url(r'^api/people/', include('networkapi.people.urls')),
Expand Down