urls: More prospectus redirects.
This commit is contained in:
parent
c530726fb6
commit
d51b493ae0
1 changed files with 3 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue