"""Defines URL Patterns for users"""

from django.conf.urls import url
from django.contrib.auth.views import login

from . import views

urlpatterns = [
    # Login page;because it's using a library defined view,
    # the template is also added as an argument
    url(
        r'^login/$',
        login,
        {'template_name': 'users/login.html'},
        name='login'
    ),

    # Logout page
    url(r'^logout/$', views.logout_view, name='logout'),

    # Registration page
    url(r'^register/$', views.register, name='register'),
]

aaa1c904858dbb116cf6abdfa93ad0038acec090
<mask token>

<mask token>
urlpatterns = [url('^login/$', login, {'template_name': 'users/login.html'},
    name='login'), url('^logout/$', views.logout_view, name='logout'), url(
    '^register/$', views.register, name='register')]

<mask token>
from django.conf.urls import url
from django.contrib.auth.views import login
from . import views
urlpatterns = [url('^login/$', login, {'template_name': 'users/login.html'},
    name='login'), url('^logout/$', views.logout_view, name='logout'), url(
    '^register/$', views.register, name='register')]

"""Defines URL Patterns for users"""

from django.conf.urls import url
from django.contrib.auth.views import login

from . import views

urlpatterns = [
    # Login page;because it's using a library defined view,
    # the template is also added as an argument
    url(
        r'^login/$',
        login,
        {'template_name': 'users/login.html'},
        name='login'
    ),

    # Logout page
    url(r'^logout/$', views.logout_view, name='logout'),

    # Registration page
    url(r'^register/$', views.register, name='register'),
]
