Index: django/core/management/__init__.py
===================================================================
--- django/core/management/__init__.py	(revision 6718)
+++ django/core/management/__init__.py	(working copy)
@@ -87,6 +87,17 @@
         except (AttributeError, EnvironmentError):
             apps = []
 
+        # Try to determine the project directory
+        try:
+            from django.conf import settings
+            project_directory = setup_environ(__import__(settings.SETTINGS_MODULE))
+        except (AttributeError, EnvironmentError, ImportError):
+            project_directory = None
+
+	# Add the parent directory of the project directory to sys.path
+	# so we can find the management modules.
+	sys.path.append(os.path.join(project_directory, os.pardir))
+
         for app_name in apps:
             try:
                 path = find_management_module(app_name)
@@ -95,12 +106,7 @@
             except ImportError:
                 pass # No management module - ignore this app
 
-        # Try to determine the project directory
-        try:
-            from django.conf import settings
-            project_directory = setup_environ(__import__(settings.SETTINGS_MODULE))
-        except (AttributeError, EnvironmentError, ImportError):
-            project_directory = None
+	sys.path.pop()
 
         if project_directory:
             # Remove the "startproject" command from self.commands, because
