X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/72fac53a4cd42e6c9f56a581a85f8b47ba61b2ac..785b59352880027f54ea0e81335d179eccee75f1:/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') )