Ticket #5343: core.management.__init__.py.diff
File core.management.__init__.py.diff, 577 bytes (added by , 17 years ago) |
---|
-
core/management/__init__.py
177 177 represents django-admin.py. 178 178 """ 179 179 def __init__(self, project_directory): 180 super(ProjectManagementUtility, self).__init__() 180 181 try: 181 182 self.commands = get_commands() 183 x = os.environ['DJANGO_SETTINGS_MODULE'] 182 184 except CommandError, e: 183 185 sys.stderr.write(str(e)) 184 186 sys.exit(1)