0 1 0
Brett Smith - 13 months ago 2019-10-10 18:16:41
brettcsmith@brettcsmith.org
urls: More prospectus redirects.
1 file changed with 3 insertions and 2 deletions:
↑ Collapse Diff ↑
...
 
@@ -12,6 +12,7 @@ from pinaxcon import views
12 12
 
import symposion.views
13 13
 

	
14 14
 
DONATE_REDIRECT = RedirectView.as_view(url='https://sfconservancy.org/donate/')
15
 
PROSPECTUS_REDIRECT = RedirectView.as_view(url=_static('assets/2020_CopyleftConf_prospectus.pdf'))
15 16
 

	
16 17
 
urlpatterns = [
17 18
 
    url(r"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"),
...
 
@@ -47,8 +48,8 @@ urlpatterns = [
47 48
 
    url(r"^terms$", RedirectView.as_view(url="terms-and-conditions")),
48 49
 

	
49 50
 
    # sponsor
50
 
    url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/2020_CopyleftConf_prospectus.pdf")), name="sponsors/prospectus"),
51
 
    # url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become_a_sponsor.html"), name="sponsors/become-a-sponsor"),
51
 
    url(r"^sponsors/prospectus$", PROSPECTUS_REDIRECT, name="sponsors/prospectus"),
52
 
    url(r"^sponsors/become-a-sponsor$", PROSPECTUS_REDIRECT, name="sponsors/become-a-sponsor"),
52 53
 
    url(r"^sponsors/donate$", DONATE_REDIRECT),
53 54
 
    url(r"^donate$", DONATE_REDIRECT),
54 55
 
    url(r"^about/donate$", DONATE_REDIRECT),
0 comments (0 inline, 0 general)