#!/usr/bin/env python import os import sys if __name__ == "__main__": if "--no-traceback" not in sys.argv and len(sys.argv) > 1: sys.argv.append("--traceback") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "humbug.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)