Ticket #12231: management.patch
File management.patch, 554 bytes (added by , 15 years ago) |
---|
-
__init__.py
old new 399 399 project_directory, settings_filename = os.path.split(p) 400 400 if project_directory == os.curdir or not project_directory: 401 401 project_directory = os.getcwd() 402 project_name = os.path.basename(project_directory)402 project_name = settings_mod.__package__ 403 403 404 404 # Strip filename suffix to get the module name. 405 405 settings_name = os.path.splitext(settings_filename)[0]