move oauth2 templates in a fargo/ subdirectory (#22920)

This commit is contained in:
Frédéric Péters 2018-03-30 12:46:19 +02:00
parent 9a824087cc
commit ca0b908387
3 changed files with 2 additions and 2 deletions

View File

@ -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'''