from django.conf.urls import url
from users import views

urlpatterns = [
    url(r'^register/$', views.register, name='register'),#注册
    url(r'^register_handle/$', views.register_handle, name='register_handle'),#注册校验
    url(r'^login/$', views.login, name='login'),  # 显示登陆页面
    url(r'^login_check/$', views.login_check, name='login_check'), # 用户登录校验
    url(r'^logout/$', views.logout, name='logout'), # 退出用户登录
]