from django.conf.urls.defaults import patterns, include, url urlpatterns = patterns('', # Uncomment the admin/doc line below to enable admin documentation: url(r'^$', 'foobar.views.index'), # url(r'^user/(.+)/$', 'running.views.user_index'), # url(r'^zoom/$', 'running.views.zoom'), # url(r'^json/user/column/(\d+)/$', 'running.views.json_user_column'), # url(r'^json/user/total/(\d+)/$', 'running.views.json_user_total'), # url(r'^json/user/speed/(\d+)/$', 'running.views.json_user_speed'), # url(r'^accounts/login/$', 'django.contrib.auth.views.login', name='login' ), # url(r'^accounts/logout/$', 'django.contrib.auth.views.logout', name='logout'), )