* Add a view that redirects / to /influences/.
authorroot <root@stdio.flexvps.nl>
Fri, 8 Feb 2008 19:44:11 +0000 (20:44 +0100)
committerroot <root@stdio.flexvps.nl>
Fri, 8 Feb 2008 19:44:11 +0000 (20:44 +0100)
urls.py

diff --git a/urls.py b/urls.py
index d03ac119ec8080889ef173d6d595d0bc55204433..086f58a54c060a27d8ad9e55f0ecdb9bc5e0dc46 100644 (file)
--- 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<event_id>\d+)/$', 'ee.events.views.event.detail'),
     url(r'^events/event/(?P<event_id>\d+)/regs$', 'ee.events.views.event.regs'),