move oauth2 templates in a fargo/ subdirectory (#22920)
This commit is contained in:
parent
9a824087cc
commit
ca0b908387
|
@ -58,7 +58,7 @@ class OAUTH2APIViewMixin(APIView):
|
|||
|
||||
|
||||
class OAuth2AuthorizeView(FormView):
|
||||
template_name = 'oauth2/authorize.html'
|
||||
template_name = 'fargo/oauth2/authorize.html'
|
||||
form_class = OAuth2AuthorizeForm
|
||||
success_url = '/'
|
||||
|
||||
|
@ -193,7 +193,7 @@ put_document = PutDocumentAPIView.as_view()
|
|||
|
||||
|
||||
class OAuth2AuthorizePutView(TemplateView):
|
||||
template_name = 'oauth2/confirm.html'
|
||||
template_name = 'fargo/oauth2/confirm.html'
|
||||
|
||||
def redirect(self, **kwargs):
|
||||
'''Return to requester'''
|
||||
|
|
Loading…
Reference in New Issue