fixes
[turniej.git] / turniej / urls.py
1 from django.conf.urls.defaults import patterns, include, url
2 from django.views.generic.simple import direct_to_template
3
4 # from django.contrib import admin
5 # admin.autodiscover()
6
7 urlpatterns = patterns('',
8     url(r'^$', 'turniej.views.home', name='main_page'),
9
10     url(r'^regulamin/$', direct_to_template, {'template': 'pages/rules.html'},
11         name='rules_page'),
12     url(r'^wiecej/$', direct_to_template, {'template': 'pages/more.html'},
13         name='more_page'),
14     url(r'^technikalia/$', direct_to_template, {'template': 'pages/technical.html'},
15         name='technical_page'),
16
17     url(r'^poezja/', include('poetry.urls')),
18
19     # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
20     # url(r'^admin/', include(admin.site.urls)),
21 )