diff --git a/pinaxcon/templates/static_pages/sponsors/donate.html b/pinaxcon/templates/static_pages/sponsors/donate.html deleted file mode 100644 index fb85b61..0000000 --- a/pinaxcon/templates/static_pages/sponsors/donate.html +++ /dev/null @@ -1,52 +0,0 @@ -{% extends "page_with_title_and_lede.html" %} - -{% load i18n %} - -{% block head_title %}Donate{% endblock %} - -{% block heading %}Donate to North Bay Python{% endblock %} - -{% block body_class %}sponsors{% endblock %} - -{% block lede %} - Donations to North Bay Python are processed by Software Freedom Conservancy, Inc. a 501(c)(3) organization incorporated in New York, and donations made to it are fully tax-deductible to the extent permitted by law. -{% endblock %} - - -{% block content %} - -
-
- - -We accept Visa, MasterCard, American Express, Discover, and bank transfer.
- - -We can accept checks drawn in USD from banks in the United States.
- -Please make the check payable to "Software Freedom Conservancy, Inc." and place "Directed donation: North Bay Python" in the memo field.
- -Mail your check to:
- - - Software Freedom Conservancy, Inc.We can accept donations through other means, including wire transfer. To enquire, please e-mail hello@northbaypython.org.
- - -{% endblock %} diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index 4c66990..9334d2b 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -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"),