Skip to content

Instantly share code, notes, and snippets.

View dabrowne's full-sized avatar

David Browne dabrowne

View GitHub Profile
@dabrowne
dabrowne / autoreload.py
Created March 2, 2018 00:37
Django autoreload management command
from django.core.management import BaseCommand
from django.utils import autoreload
import atexit
import subprocess
import sys
class Command(BaseCommand):
"""