uwaga
[turniej.git] / turniej / urls.py
index 2a2a2f1..117df8b 100644 (file)
@@ -1,21 +1,11 @@
 from django.conf.urls.defaults import patterns, include, url
 from django.views.generic.simple import direct_to_template
+from edition2.urls import urlpatterns as e2_urlpatterns
 
 # from django.contrib import admin
 # admin.autodiscover()
 
 urlpatterns = patterns('',
-    url(r'^$', 'turniej.views.home', name='main_page'),
-
-    url(r'^regulamin/$', direct_to_template, {'template': 'pages/rules.html'},
-        name='rules_page'),
-    url(r'^wiecej/$', direct_to_template, {'template': 'pages/more.html'},
-        name='more_page'),
-    url(r'^technikalia/$', direct_to_template, {'template': 'pages/technical.html'},
-        name='technical_page'),
-
+    url(r'^2011/', include('edition1.urls')),
     url(r'^poezja/', include('poetry.urls')),
-
-    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
-    # url(r'^admin/', include(admin.site.urls)),
-)
+) + e2_urlpatterns