Ticket #9960: list_incomprehension.diff

File list_incomprehension.diff, 675 bytes (added by Antti Rasinen, 16 years ago)
  • django/core/management/__init__.py

     
    117117        for app_name in apps:
    118118            try:
    119119                path = find_management_module(app_name)
    120                 _commands.update(dict([(name, app_name)
    121                                        for name in find_commands(path)]))
     120                for name in find_commands(path):
     121                    _commands[name] = app_name
     122
    122123            except ImportError:
    123124                pass # No management module - ignore this app
    124125
Back to Top