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)),
url(r'^epub/$', RedirectView.as_view(
url='/katalog/lektury/', permanent=False)),
url(r'^mozesz-nam-pomoc/$', RedirectView.as_view(
- url='/info/mozesz-nam-pomoc', permanent=True)),
+ url='/info/wlacz-sie-w-prace/', permanent=True)),
url(r'^o-projekcie/$', RedirectView.as_view(
- url='/info/o-projekcie', permanent=True)),
+ url='/info/o-projekcie/', permanent=True)),
url(r'^widget/$', RedirectView.as_view(
- url='/info/widget', permanent=True)),
+ url='/info/widget/', permanent=True)),
url(r'^wolontariat/$', RedirectView.as_view(
- url='/info/mozesz-nam-pomoc/', permanent=False)),
+ url='/info/wlacz-sie-w-prace/', permanent=False)),
)