2014-10-01 17:31:10 +04:00
|
|
|
from django.views.generic import TemplateView
|
2014-10-01 16:13:21 +04:00
|
|
|
from django.conf.urls import patterns, url
|
|
|
|
|
|
|
|
from .views import Register, VerifyEmail
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
url(r'^$', Register.as_view(), name='rest_register'),
|
2014-10-01 18:34:51 +04:00
|
|
|
url(r'^verify-email/$', VerifyEmail.as_view(), name='verify_email'),
|
2014-10-01 17:31:10 +04:00
|
|
|
|
|
|
|
url(r'^account-email-verification-sent/$', TemplateView.as_view(),
|
|
|
|
name='account_email_verification_sent'),
|
|
|
|
url(r'^account-confirm-email/(?P<key>\w+)/$', TemplateView.as_view(),
|
|
|
|
name='account_confirm_email'),
|
|
|
|
|
2014-10-01 16:13:21 +04:00
|
|
|
)
|
|
|
|
|