Skip to content

Instantly share code, notes, and snippets.

View alexjillard's full-sized avatar

Alex Jillard alexjillard

View GitHub Profile
import redis
from django.conf import settings
from django.core.signals import request_finished
try:
from eventlet.corolocal import local
except ImportError:
from threading import local