From: root Date: Fri, 8 Feb 2008 19:44:11 +0000 (+0100) Subject: * Add a view that redirects / to /influences/. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=625935a66178b0f9f678df4b1fb13cba06711c53;p=matthijs%2Fprojects%2Fxerxes.git * Add a view that redirects / to /influences/. --- diff --git a/urls.py b/urls.py index d03ac11..086f58a 100644 --- a/urls.py +++ b/urls.py @@ -13,6 +13,7 @@ influences_dict = { } urlpatterns = patterns('', + url(r'^$', 'django.views.generic.simple.redirect_to', {'url' : '/influences/'}), url(r'^admin/', include('django.contrib.admin.urls')), url(r'^events/event/(?P\d+)/$', 'ee.events.views.event.detail'), url(r'^events/event/(?P\d+)/regs$', 'ee.events.views.event.regs'),