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