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