From 11707f7fdcde7ae55471c9c8b4be29acb409e01b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Tue, 22 Oct 2013 09:48:34 +0200 Subject: [PATCH] kontakt/contact page accessible under katalog.* domain. --- edumed/milurls.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/edumed/milurls.py b/edumed/milurls.py index 609fd72..201f85d 100644 --- a/edumed/milurls.py +++ b/edumed/milurls.py @@ -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 -- 2.20.1