Changeset - 4c7f0edd6071
[Not reviewed]
1 1 0
Brett Smith - 2 years 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:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/sponsors/donate.html
Show inline comments
 
deleted file
pinaxcon/urls.py
Show inline comments
...
 
@@ -8,12 +8,13 @@ from django.views.generic import RedirectView
 
from django.contrib import admin
 

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

	
 
    # about
 
    url(r"^about$", TemplateView.as_view(template_name="static_pages/about.html"), name="about"),
...
 
@@ -42,15 +43,15 @@ urlpatterns = [
 
    # url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"),
 
    # url(r"^code-of-conduct/harassment-staff-procedures$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_staff.html"), name="code-of-conduct/harassment-staff-procedures"),
 

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

	
 
    # Django, Symposion, and Registrasion URLs
 

	
0 comments (0 inline, 0 general)