Separate sponsors for katalog subdomain
[edumed.git] / edumed / milurls.py
1 from django.conf.urls import include, url, patterns
2
3 from fnpdjango.utils.urls import i18n_patterns
4 from .views import mil_home_view
5
6
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 )
13
14 handler404 = 'edumed.views.mil_404_view'
15
16 from django.conf import settings
17 if settings.DEBUG:
18     urlpatterns += patterns('',
19         url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
20             'document_root': settings.MEDIA_ROOT,
21         }),
22    )