Ticket #8256: project_directory.diff
File project_directory.diff, 714 bytes (added by , 16 years ago) |
---|
-
django/core/management/__init__.py
104 104 # Find the project directory 105 105 try: 106 106 from django.conf import settings 107 project_directory = setup_environ(__import__(settings.SETTINGS_MODULE)) 107 project_directory = setup_environ(__import__( 108 settings.SETTINGS_MODULE, {}, {}, 109 (settings.SETTINGS_MODULE.split(".")[-1],)) 110 ) 108 111 except (AttributeError, EnvironmentError, ImportError): 109 112 project_directory = None 110 113