mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	While we already don't link to /terms anywhere on the site, they can still be accessed if you navigate to /terms directly. Now, those routes will only be exported on the Zulip.com service. We should ideally provide a mechanism for deployments to specify their own terms without modifying source code; in the interim, sites that have already customised the provided Zulip.com terms can simply carry a patch reverting this commit.
		
			
				
	
	
		
			16 lines
		
	
	
		
			729 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			729 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.conf.urls import patterns, url
 | 
						|
from django.views.generic import TemplateView, RedirectView
 | 
						|
 | 
						|
urlpatterns = patterns('',
 | 
						|
    # Zephyr/MIT
 | 
						|
    url(r'^zephyr/$', TemplateView.as_view(template_name='corporate/zephyr.html')),
 | 
						|
    url(r'^mit/$', TemplateView.as_view(template_name='corporate/mit.html')),
 | 
						|
    url(r'^zephyr-mirror/$', TemplateView.as_view(template_name='corporate/zephyr-mirror.html')),
 | 
						|
 | 
						|
    # Terms of service and privacy policy
 | 
						|
    url(r'^terms/$',   TemplateView.as_view(template_name='corporate/terms.html')),
 | 
						|
    url(r'^terms-enterprise/$',  TemplateView.as_view(template_name='corporate/terms-enterprise.html')),
 | 
						|
    url(r'^privacy/$', TemplateView.as_view(template_name='corporate/privacy.html')),
 | 
						|
 | 
						|
)
 |