You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
612 B
26 lines
612 B
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "oauth"
|
|
urlpatterns = [
|
|
path(
|
|
r'oauth/authorize',
|
|
views.authorize),
|
|
path(
|
|
r'oauth/requireemail/<int:oauthid>.html',
|
|
views.RequireEmailView.as_view(),
|
|
name='require_email'),
|
|
path(
|
|
r'oauth/emailconfirm/<int:id>/<sign>.html',
|
|
views.emailconfirm,
|
|
name='email_confirm'),
|
|
path(
|
|
r'oauth/bindsuccess/<int:oauthid>.html',
|
|
views.bindsuccess,
|
|
name='bindsuccess'),
|
|
path(
|
|
r'oauth/oauthlogin',
|
|
views.oauthlogin,
|
|
name='oauthlogin')]
|