Did I find the right examples for you? yes no

All Samples(16)  |  Call(0)  |  Derive(8)  |  Import(8)

src/s/m/smeuhsocial-HEAD/apps/django_openid/registration.py   smeuhsocial(Download)
from django.http import HttpResponseRedirect
from django.core.mail import send_mail
from django.conf import settings
 
from django_openid.auth import AuthConsumer
class RegistrationConsumer(AuthConsumer):
    already_signed_in_message = 'You are already signed in to this site'
    unknown_openid_message = \
        'That OpenID is not recognised. Would you like to create an account?'
    c_already_confirmed_message = 'Your account is already confirmed'

src/m/y/mycogia.com-HEAD/apps/django_openid/registration.py   mycogia.com(Download)
from django.http import HttpResponseRedirect
from django import forms
 
from django_openid.auth import AuthConsumer
from django_openid.utils import OpenID
class RegistrationConsumer(AuthConsumer):
    already_signed_in_message = 'You are already signed in to this site'
    unknown_openid_message = \
        'That OpenID is not recognised. Would you like to create an account?'
    registration_complete_message = 'Your account has been created'

src/d/j/django-openid-HEAD/django_openid/registration.py   django-openid(Download)
from django.http import HttpResponseRedirect
from django.core.mail import send_mail
from django.conf import settings
 
from django_openid.auth import AuthConsumer
class RegistrationConsumer(AuthConsumer):
    already_signed_in_message = 'You are already signed in to this site'
    unknown_openid_message = \
        'That OpenID is not recognised. Would you like to create an account?'
    c_already_confirmed_message = 'Your account is already confirmed'

src/d/j/django_couchdb_utils-0.5/django_couchdb_utils/openid_consumer/consumer.py   django_couchdb_utils(Download)
import datetime
from django.conf import settings
from openid.consumer import consumer
from django_openid.consumer import signed
from django_openid.auth import AuthConsumer as DjangoOpenidAuthConsumer
class AuthConsumer(SessionConsumer, DjangoOpenidAuthConsumer):
    def user_can_login(self, request, user):
        "Over-ride for things like user bans or account e-mail validation"
        return user.is_active
 

src/d/j/django-couchdb-utils-HEAD/django_couchdb_utils/openid_consumer/consumer.py   django-couchdb-utils(Download)
import datetime
from django.conf import settings
from openid.consumer import consumer
from django_openid.consumer import signed
from django_openid.auth import AuthConsumer as DjangoOpenidAuthConsumer
class AuthConsumer(SessionConsumer, DjangoOpenidAuthConsumer):
    def user_can_login(self, request, user):
        "Over-ride for things like user bans or account e-mail validation"
        return user.is_active
 

src/s/m/smeuhsocial-HEAD/apps/django_openid/tests/openid_mocks.py   smeuhsocial(Download)
"""
from django_openid.consumer import Consumer, SessionConsumer, CookieConsumer
from django_openid.auth import AuthConsumer
from openid.message import Message
 
class MyAuthConsumer(MyConsumerMixin, AuthConsumer):
    pass
 

src/d/j/django-openid-HEAD/django_openid/tests/openid_mocks.py   django-openid(Download)
"""
from django_openid.consumer import Consumer, SessionConsumer, CookieConsumer
from django_openid.auth import AuthConsumer
from openid.message import Message
 
class MyAuthConsumer(MyConsumerMixin, AuthConsumer):
    pass
 

src/m/y/mycogia.com-HEAD/apps/django_openid/tests/openid_mocks.py   mycogia.com(Download)
"""
from django_openid.consumer import Consumer, SessionConsumer, CookieConsumer
from django_openid.auth import AuthConsumer
 
class MockSession(dict):
class MyAuthConsumer(MyConsumerMixin, AuthConsumer):
    pass