1 from django.conf.urls.defaults import patterns, include, url
2 from django.views.generic.simple import direct_to_template
4 # from django.contrib import admin
7 urlpatterns = patterns('',
8 url(r'^$', 'turniej.views.home', name='main_page'),
10 url(r'^regulamin/$', direct_to_template, {'template': 'pages/rules.html'},
12 url(r'^wiecej/$', direct_to_template, {'template': 'pages/more.html'},
14 url(r'^technikalia/$', direct_to_template, {'template': 'pages/technical.html'},
15 name='technical_page'),
17 url(r'^poezja/', include('poetry.urls')),
19 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
20 # url(r'^admin/', include(admin.site.urls)),