Skip to content

Instantly share code, notes, and snippets.

@andymckay
Created January 30, 2012 22:42
Show Gist options
  • Save andymckay/1707275 to your computer and use it in GitHub Desktop.
Save andymckay/1707275 to your computer and use it in GitHub Desktop.
diff --git a/manage.py b/manage.py
index 17d9408..761406f 100755
--- a/manage.py
+++ b/manage.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
import getopt
-import importlib
import logging
import os
import site
@@ -35,6 +34,7 @@ sys.path[:0] = new_sys_path
# No third-party imports until we've added all our sitedirs!
from django.core.management import (call_command, execute_manager,
setup_environ)
+from django.utils import importlib
# Allow a user to pass in settings into manage.py and use that for our
# own purposes. If you don't use that we'll fall back to whatever is
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment