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