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

from django.conf import settings
from django.contrib.auth import views as auth_views

urlpatterns=[
    #url(r'^login/$',views.user_login,name="user_login"),
    url(r'^login/$',auth_views.LoginView.as_view(template_name='account/login.html'),name='user_login'),
    url(r'^logout/$',auth_views.LogoutView.as_view(template_name='account/logout.html'),name='user_logout'),
    url(r'^register/$',views.register,name='user_register'),

    #url(r'^logout/$',auth_views.login,name='user_logout'),
]
