(self, request, *args, **kwargs)
| 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'] |
no outgoing calls