Added translation support for ungleich contact page,
This commit is contained in:
		
					parent
					
						
							
								20a59f461d
							
						
					
				
			
			
				commit
				
					
						b29ee74634
					
				
			
		
					 6 changed files with 41 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,8 @@
 | 
			
		|||
from django.conf.urls import url
 | 
			
		||||
from .views import ContactView
 | 
			
		||||
from django.utils.translation import ugettext_lazy as _
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
    url(r'contact/?$', ContactView.as_view(), name='contact'),
 | 
			
		||||
    url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
 | 
			
		||||
]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue