1 1 0
Brett Smith - 14 months ago 2019-09-30 15:50:16
brettcsmith@brettcsmith.org
urls: Redirect donate page directly to Conservancy site.
2 files changed with 4 insertions and 55 deletions:
↑ Collapse Diff ↑
pinaxcon/templates/static_pages/sponsors/donate.html
 
deleted file
...
 
@@ -11,6 +11,7 @@ from pinaxcon import views
11 11
 

	
12 12
 
import symposion.views
13 13
 

	
14
 
DONATE_REDIRECT = RedirectView.as_view(url='https://sfconservancy.org/donate/')
14 15
 

	
15 16
 
urlpatterns = [
16 17
 
    url(r"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"),
...
 
@@ -45,9 +46,9 @@ urlpatterns = [
45 46
 
    # sponsor
46 47
 
    url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/2019_CopyleftConf_prospectus.pdf")), name="sponsors/prospectus"),
47 48
 
    # url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become_a_sponsor.html"), name="sponsors/become-a-sponsor"),
48
 
    url(r"^sponsors/donate$", TemplateView.as_view(template_name="static_pages/sponsors/donate.html"), name="sponsors/donate"),
49
 
    url(r"^donate$", RedirectView.as_view(url="sponsors/donate")),
50
 
    url(r"^about/donate$", RedirectView.as_view(url="sponsors/donate")),
49
 
    url(r"^sponsors/donate$", DONATE_REDIRECT),
50
 
    url(r"^donate$", DONATE_REDIRECT),
51
 
    url(r"^about/donate$", DONATE_REDIRECT),
51 52
 

	
52 53
 
    # news
53 54
 
    # url(r"^news$", TemplateView.as_view(template_name="static_pages/news.html"), name="news"),
0 comments (0 inline, 0 general)