Did I find the right examples for you? yes no

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

src/d/j/django-swingers-1.1.1/swingers/sauth/admin.py   django-swingers(Download)
from guardian.admin import GuardedModelAdmin
 
from swingers.sauth.models import Job, ApplicationLink, Token
 
 

src/d/j/django-swingers-1.1.1/swingers/utils/auth.py   django-swingers(Download)
    modified.
    """
    from swingers.sauth.models import ApplicationLink
    link = ApplicationLink.objects.get(server_name=service)
    url = link.server_url
    ApplicationLink and token expiry time
    """
    from swingers.sauth.models import ApplicationLink
    # sanity check the dictionary
    for key in ["client_id", "client_secret", "user_id"]:

src/d/j/django-swingers-1.1.1/swingers/utils/tests.py   django-swingers(Download)
 
from swingers.sauth.decorators import crossdomain
from swingers.sauth.models import ApplicationLink
from swingers.utils.decorators import workdir
from swingers.tests.models import Duck, ParentDuck

src/d/j/django-swingers-1.1.1/swingers/sauth/tests.py   django-swingers(Download)
 
from swingers.sauth.backends import PersonaBackend, EmailBackend
from swingers.sauth.models import ApplicationLink, Token
from swingers.utils.auth import make_nonce
 

src/d/j/django-swingers-1.1.1/swingers/middleware/tests.py   django-swingers(Download)
from swingers.middleware.auth import get_exempt_urls, AuthenticationMiddleware
from swingers.middleware.transaction import ResponseStatusTransactionMiddleware
from swingers.sauth.models import ApplicationLink, Token
from swingers.tests.models import Duck, Counter