Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/d/j/django_cas_pdx-1.0.0/django_cas_pdx/middleware.py   django_cas_pdx(Download)
from django.core.urlresolvers import reverse
 
from django_cas_pdx.views import login as cas_login, logout as cas_logout
 
__all__ = ['CASMiddleware']
            return cas_login(request, *view_args, **view_kwargs)
        elif view_func == logout:
            return cas_logout(request, *view_args, **view_kwargs)
 
        if settings.CAS_ADMIN_PREFIX: