Ticket #6397: 6397.patch

File 6397.patch, 877 bytes (added by nicklane, 16 years ago)

Quick patch from when I needed this...

  • django/core/management/commands/loaddata.py

    diff -r 308207fd18a1 django/core/management/commands/loaddata.py
    a b class Command(BaseCommand):  
    104104                                if show_traceback:
    105105                                    raise
    106106                                sys.stderr.write(
    107                                     self.style.ERROR("Problem installing fixture '%s': %s\n" %
    108                                          (full_path, str(e))))
     107                                    self.style.ERROR("Problem installing fixture '%s' (object %d): %s\n" %
     108                                         (full_path, count[0], str(e))))
    109109                                return
    110110                            fixture.close()
    111111                    except:
Back to Top