From: Aleksander Ɓukasz Date: Tue, 22 Oct 2013 07:48:34 +0000 (+0200) Subject: kontakt/contact page accessible under katalog.* domain. X-Git-Url: https://git.mdrn.pl/edumed.git/commitdiff_plain/11707f7fdcde7ae55471c9c8b4be29acb409e01b?ds=sidebyside kontakt/contact page accessible under katalog.* domain. --- 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