Removed unsed root "/wtem/" url
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 8 Nov 2013 11:47:11 +0000 (12:47 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Wed, 15 Jan 2014 10:18:58 +0000 (11:18 +0100)
wtem/urls.py
wtem/views.py

index c78e8bd..7de39ed 100644 (file)
@@ -1,9 +1,8 @@
 from django.conf.urls import patterns, url
 from django.conf import settings
-from .views import main, form, form_during
+from .views import form, form_during
 
 urlpatterns = patterns('',
-    url(r'^$', main, name = 'wtem_main'),
     url(r'^_test/(?P<key>.*)/$', form_during),
     url(r'^(?P<key>.*)/$', form, name = 'wtem_form')
 )
index bfce3c9..896746a 100644 (file)
@@ -11,9 +11,6 @@ from .forms import WTEMForm
 WTEM_CONTEST_STAGE = getattr(settings, 'WTEM_CONTEST_STAGE', 'before')
 
 
-def main(request):
-    pass
-
 def form(request, key):
     return globals()['form_' + WTEM_CONTEST_STAGE](request, key)