Did I find the right examples for you? yes no

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

src/d/j/django-hotsauce-0.5.0/examples/lib/site-packages/threaded_multihost/utils.py   Django-hotsauce(Download)
def is_secure():
    req = threadlocals.get_current_request()
    if not req:
        log.warning("No request found while doing media_tags.  Are you missing the ThreadLocalMiddleware?")
        return False

src/d/j/django-threaded-multihost-1.4-1/threaded_multihost/utils.py   django-threaded-multihost(Download)
def is_secure():
    req = threadlocals.get_current_request()
    if not req:
        log.warning("No request found while doing media_tags.  Are you missing the ThreadLocalMiddleware?")
        return False