MCPcopy
hub / github.com/liangliangyy/DjangoBlog / get

Method get

oauth/views.py:204–211  ·  view source on GitHub ↗
(self, request, *args, **kwargs)

Source from the content-addressed store, hash-verified

202 template_name = 'oauth/require_email.html'
203
204 def get(self, request, *args, **kwargs):
205 oauthid = self.kwargs['oauthid']
206 oauthuser = get_object_or_404(OAuthUser, pk=oauthid)
207 if oauthuser.email:
208 pass
209 # return HttpResponseRedirect('/')
210
211 return super(RequireEmailView, self).get(request, *args, **kwargs)
212
213 def get_initial(self):
214 oauthid = self.kwargs['oauthid']

Callers 15

test_oauth_login_testMethod · 0.45
do_getMethod · 0.45
__init__Method · 0.45
do_getMethod · 0.45
get_redirecturlFunction · 0.45
oauthloginFunction · 0.45
authorizeFunction · 0.45
emailconfirmFunction · 0.45
bindsuccessFunction · 0.45
test_own_track_logMethod · 0.45

Calls

no outgoing calls