urls: Redirect donate page directly to Conservancy site.

This commit is contained in:
Brett Smith 2018-12-06 10:02:42 -05:00
parent 9dca02963d
commit 4c7f0edd60
2 changed files with 4 additions and 55 deletions

View file

@ -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 <a href="https://sfconservancy.org/donate">Software Freedom Conservancy, Inc. a 501(c)(3) organization incorporated in New York</a>, and donations made to it are fully tax-deductible to the extent permitted by law.
{% endblock %}
{% block content %}
<h2>Donate by credit/debit card or ACH bank transfer <small>(via PayPal)</small></h2>
<p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="E96FCPFPZK25C">
<button type="submit" class="btn btn-large btn-primary" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">Donate via PayPal</button>
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
</p>
<p>We accept Visa, MasterCard, American Express, Discover, and bank transfer.</p>
<h2>Donate by US bank check</h2>
<p>We can accept checks drawn in USD from banks in the United States.</p>
<p>Please make the check payable to <i>"Software Freedom Conservancy, Inc."</i> and place <i>"Directed donation: North Bay Python"</i> in the memo field.</p>
<p>Mail your check to:</p>
<address>
Software Freedom Conservancy, Inc. <br>
137 Montague ST STE 380 <br>
BROOKLYN, NY 11201 <br>
United States
</address>
<h2>Other donation methods</h2>
<p>We can accept donations through other means, including wire transfer. To enquire, please e-mail <a href="mailto:hello@northbaypython.org">hello@northbaypython.org.</a></p>
{% endblock %}

View file

@ -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"),