Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
Working from Earth...

Mindey mindey

🚀
Working from Earth...
View GitHub Profile
@zbyte64
zbyte64 / async_app.py
Created May 26, 2016
Asyncio Views With Django
View async_app.py
import asyncio
from django import http
from django.core.urlresolvers import set_script_prefix
from django.utils.encoding import force_str
from django.core.handlers.wsgi import get_script_name
from django_wsgi.handler import DjangoApplication
import logging
import logging
import sys