kontakt/contact page accessible under katalog.* domain.
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 22 Oct 2013 07:48:34 +0000 (09:48 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 22 Oct 2013 07:49:55 +0000 (09:49 +0200)
edumed/milurls.py

index 609fd72..201f85d 100644 (file)
@@ -11,6 +11,13 @@ urlpatterns = i18n_patterns('',
     url(r'^zglos/', include('contact.urls')),
 )
 
+urlpatterns += patterns('',
+    url(r'^kontakt/', 'django.contrib.flatpages.views.flatpage', {'url': 'kontakt/'},
+        name="info_contact_pl"),
+    url(r'^contact/', 'django.contrib.flatpages.views.flatpage', {'url': 'contact/'},
+        name="info_contact_en"),
+)
+
 handler404 = 'edumed.views.mil_404_view'
 
 from django.conf import settings