# url(r'^i/', include('django.contrib.flatpages.urls')),
url(r'^i/(?P<url>.*)$', 'django.contrib.flatpages.views.flatpage',
name="info"),
+ url(r'^szukaj/', include('haystack.urls')),
)
(r'^accounts/login/$', 'django_cas.views.login'),
(r'^accounts/logout/$', 'django_cas.views.logout'),
)
+
+
+if settings.DEBUG:
+ urlpatterns += patterns('',
+ url(r'^media/(?P<path>.*)$', 'django.views.static.serve', {
+ 'document_root': settings.MEDIA_ROOT,
+ }),
+ )