Did I find the right examples for you? yes no

All Samples(17)  |  Call(17)  |  Derive(0)  |  Import(0)

src/s/m/smeuhsocial-HEAD/apps/django_openid/auth.py   smeuhsocial(Download)
    def show_already_logged_in(self, request):
        return self.render(request, self.already_logged_in_template) 
 
    def do_login(self, request, extra_message=None):
        if request.method == 'POST' and \
        which one they would like to sign in as
        """
        return self.render(request, self.pick_account_template, {
            'action': urljoin(request.path, '../pick/'),
            'openid': openid,
    def show_associate(self, request, openid=None):
        "Screen that offers to associate an OpenID with a user's account"
        if not request.user.is_authenticated():
            return self.need_authenticated_user(request)
        return self.render(request, self.show_associate_template, {
                }, extra_key = self.associate_delete_salt),
            })
        return self.render(request, self.associations_template, {
            'openids': openids,
            'user': request.user,
            else:
                extra_message = self.recovery_not_found_message
        return self.render(request, self.recover_template, {
            'action': request.path,
            'message': extra_message,

src/d/j/django-openid-HEAD/django_openid/auth.py   django-openid(Download)
    def show_already_logged_in(self, request):
        return self.render(request, self.already_logged_in_template) 
 
    def do_login(self, request, extra_message=None):
        if request.method == 'POST' and \
        which one they would like to sign in as
        """
        return self.render(request, self.pick_account_template, {
            'action': urljoin(request.path, '../pick/'),
            'openid': openid,
    def show_associate(self, request, openid=None):
        "Screen that offers to associate an OpenID with a user's account"
        if not request.user.is_authenticated():
            return self.need_authenticated_user(request)
        return self.render(request, self.show_associate_template, {
                }, extra_key = self.associate_delete_salt),
            })
        return self.render(request, self.associations_template, {
            'openids': openids,
            'user': request.user,
            else:
                extra_message = self.recovery_not_found_message
        return self.render(request, self.recover_template, {
            'action': request.path,
            'message': extra_message,

src/m/y/mycogia.com-HEAD/apps/django_openid/auth.py   mycogia.com(Download)
        which one they would like to sign in as
        """
        return self.render(request, 'django_openid/pick_account.html', {
            'action': urlparse.urljoin(request.path, '../pick/'),
            'openid': openid,
        except ValueError:
            next = ''
        return self.render(request, 'django_openid/associate.html', {
            'action': urlparse.urljoin(request.path, '../associate/'),
            'user': request.user,
                }, extra_salt = self.associate_delete_salt),
            })
        return self.render(request, self.associations_template, {
            'openids': openids,
            'user': request.user,