dash-stack/authcp/urls.py
Paarhati Ozkasgarli d3fa9b79b4 User Registration & Email Authantication
Basic user registration system and email authantication.

Change-Id: Iaa4266edaf78b5c42c4aafc0de2d1f11f9f6c4f5
2017-02-05 23:37:26 +03:00

13 lines
473 B
Python

from django.conf.urls import include, url
from django.contrib.auth import views as auth_views
from . import views
urlpatterns = [
url(r'^$', views.index, name='index'),
url(r'^login/$', auth_views.login, {'template_name': 'authcp/login.html'}, name='login'),
url(r'^logout/$', auth_views.logout, name='logout'),
url(r'^register/$', views.register_user, name='register'),
url(r'^register-success/$', views.register_success, name='register-success'),
]