David Leonard 10 年之前
父节点
当前提交
c863efb8b4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      hackathon_starter/hackathon/urls.py

+ 3 - 0
hackathon_starter/hackathon/urls.py

@@ -5,4 +5,7 @@ from hackathon import views
 urlpatterns = patterns('',
     url(r'^$', views.index, name='index'),
     url(r'^test/$', views.test, name='test'),
+    url(r'^register/$', views.register, name='register'),
+    url(r'^login/$', views.user_login, name='login'),
+    url(r'^logout/$', views.user_logout, name='logout'),
 )