import wolnelektury.views
-urlpatterns = patterns('wolnelektury.views',
+urlpatterns = patterns(
+ 'wolnelektury.views',
url(r'^$', 'main_page', name='main_page'),
url(r'^planowane/$', 'publish_plan', name='publish_plan'),
url(r'^widget\.html$', 'widget', name='widget'),
name='latest_blog_posts'),
)
-urlpatterns += patterns('',
+urlpatterns += patterns(
+ '',
url(r'^katalog/', include('catalogue.urls')),
url(r'^opds/', include('opds.urls')),
url(r'^sugestia/', include('suggest.urls')),
url(r'^i18n/', include('django.conf.urls.i18n')),
)
-urlpatterns += patterns('',
+urlpatterns += patterns(
+ '',
# old static pages - redirected
url(r'^1procent/$', RedirectView.as_view(
url='http://nowoczesnapolska.org.pl/wesprzyj_nas/', permanent=True)),