Changeset - 57038b44dfdd
[Not reviewed]
1 1 0
Brett Smith - 3 years ago 2018-12-06 15:02:42
brettcsmith@brettcsmith.org
urls: Redirect donate page directly to Conservancy site.
2 files changed with 4 insertions and 55 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/sponsors/donate.html
Show inline comments
 
deleted file
pinaxcon/urls.py
Show inline comments
...
 
@@ -11,6 +11,7 @@ from pinaxcon import views
 

	
 
import symposion.views
 

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

	
 
urlpatterns = [
 
    url(r"^$", TemplateView.as_view(template_name="static_pages/homepage.html"), name="home"),
...
 
@@ -45,9 +46,9 @@ urlpatterns = [
 
    # sponsor
 
    url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/2019_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/donate$", TemplateView.as_view(template_name="static_pages/sponsors/donate.html"), name="sponsors/donate"),
 
    url(r"^donate$", RedirectView.as_view(url="sponsors/donate")),
 
    url(r"^about/donate$", RedirectView.as_view(url="sponsors/donate")),
 
    url(r"^sponsors/donate$", DONATE_REDIRECT),
 
    url(r"^donate$", DONATE_REDIRECT),
 
    url(r"^about/donate$", DONATE_REDIRECT),
 

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