-
-urlpatterns = patterns('',
- url(r'^$', HomeView.as_view(), name="home"),
- url(r'^kompetencje/', include('curriculum.urls')),
- url(r'^lekcje/', include('catalogue.urls')),
- url(r'^info/(?P<url>.*)$', 'django.contrib.flatpages.views.flatpage',
- name="info"),
+urlpatterns = patterns(
+ '',
+ # url(r'^$', HomeView.as_view(), name="home"),
+ # url(r'^lekcje/', include('catalogue.urls')),
+ # url(r'^info/turniej/(?P<url>.*)$', lambda request, url: redirect('olimpiada', url)),
+ # url(r'^info/(?P<url>.*)$', flatpage, name="info"),
+ # url(r'^olimpiada/$', lambda request: flatpage(request, 'turniej/'), name='olimpiada'),
+ # url(r'^olimpiada/(?P<url>.*)$', lambda request, url: flatpage(request, 'turniej/' + url), name='olimpiada'),