urls: More prospectus redirects.

This commit is contained in:
Brett Smith 2019-10-10 14:16:41 -04:00
parent c530726fb6
commit d51b493ae0

View file

@ -12,6 +12,7 @@ from pinaxcon import views
import symposion.views
DONATE_REDIRECT = RedirectView.as_view(url='https://sfconservancy.org/donate/')
PROSPECTUS_REDIRECT = RedirectView.as_view(url=_static('assets/2020_CopyleftConf_prospectus.pdf'))
urlpatterns = [
url(r"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"),
@ -47,8 +48,8 @@ urlpatterns = [
url(r"^terms$", RedirectView.as_view(url="terms-and-conditions")),
# sponsor
url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/2020_CopyleftConf_prospectus.pdf")), name="sponsors/prospectus"),
# url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become_a_sponsor.html"), name="sponsors/become-a-sponsor"),
url(r"^sponsors/prospectus$", PROSPECTUS_REDIRECT, name="sponsors/prospectus"),
url(r"^sponsors/become-a-sponsor$", PROSPECTUS_REDIRECT, name="sponsors/become-a-sponsor"),
url(r"^sponsors/donate$", DONATE_REDIRECT),
url(r"^donate$", DONATE_REDIRECT),
url(r"^about/donate$", DONATE_REDIRECT),