The conact modals where moved in seperated templates. Further to evaluate the form without reloading the page some ajax was added.
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			424 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from django.conf.urls import url
 | 
						|
 | 
						|
from .views import IndexView, LoginView, ContactView
 | 
						|
 | 
						|
 | 
						|
urlpatterns = [
 | 
						|
    url(r'^/?$', IndexView.as_view(), name='index'),
 | 
						|
    url(r'/login/', LoginView.as_view(), name='login'),
 | 
						|
    url(r'/contact', ContactView.as_view(), name='contact'),
 | 
						|
#     url(r'^/beta-program/?$', BetaProgramView.as_view(), name='beta'),
 | 
						|
#     url(r'^/landing/?$', LandingProgramView.as_view(), name='landing'),
 | 
						|
]
 |