Skip to content

Commit f128696

Browse files
author
lijianguo
committed
chore(passport): code review
1 parent dc64b5e commit f128696

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

rootfs/api/views.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from django.utils.translation import gettext_lazy as _
1717
from django.views.generic.base import TemplateView
1818
from django.urls import reverse_lazy
19-
# from oauth2_provider.views import AuthorizationView
2019
from rest_framework import status
2120
from rest_framework.exceptions import AuthenticationFailed
2221
from rest_framework.response import Response
@@ -61,10 +60,6 @@ def get(self, request):
6160
head = get
6261

6362

64-
# class AuthorizationTemplateView(AuthorizationView):
65-
# template_name = "oauth2_provider/authorize.html"
66-
67-
6863
class RegisterView(CreateView):
6964
form_class = RegisterForm
7065
template_name = 'user/register.html'

0 commit comments

Comments
 (0)