-# url(r'^i/', include('django.contrib.flatpages.urls')),
- url(r'^i/(?P<url>.*)$', 'django.contrib.flatpages.views.flatpage',
- name="info"),
+ 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'),
+ url(r'^olimpiada-teaser/(?P<url>.*)$',
+ lambda request, url: flatpage_with_template(request, 'turniej/' + url, 'olimpiada_teaser.html'),
+ name='olimpiada_teaser'),