1 # -*- coding: utf-8 -*-
2 from django.conf.urls import include, url, patterns
3 from django.conf import settings
5 from fnpdjango.utils.urls import i18n_patterns
6 from .views import mil_home_view, mil_contact_view, mil_knowledge_base_view
9 urlpatterns = i18n_patterns(
11 url(r'^$', mil_home_view, name="mil_home"),
12 url(r'^kompetencje/', include('curriculum.urls')),
13 url(r'^wez-udzial/', include('comment.urls')),
14 url(r'^zglos/', include('contact.urls')),
15 url(r'^kontakt/$', mil_contact_view, name='mil_contact'),
16 url(r'^bazawiedzy/(?P<url>.*)$', mil_knowledge_base_view,
17 name="knowledge_base"),
20 handler404 = 'edumed.views.mil_404_view'
23 urlpatterns += patterns(
25 url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
26 'document_root': settings.MEDIA_ROOT,