X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/72fac53a4cd42e6c9f56a581a85f8b47ba61b2ac..ca4643640b3e41bc557ecd996d835e67ef707d5e:/urls.py?ds=inline diff --git a/urls.py b/urls.py index c4fcb5e..0363224 100644 --- a/urls.py +++ b/urls.py @@ -1,8 +1,8 @@ -from django.conf.urls.defaults import url, include, patterns, handler404, handler500 +from django.conf.urls.defaults import patterns, url from philo.views import node_view urlpatterns = patterns('', - url(r'^$', node_view, name='philo-root'), + url(r'^$', node_view, kwargs={'path': '/'}, name='philo-root'), url(r'^(?P.*)$', node_view, name='philo-node-by-path') )