Ticket #1197: django.magic-removal.mod_name.patch

File django.magic-removal.mod_name.patch, 603 bytes (added by andreas@…, 10 years ago)
  • django/core/management.py

     
    521521    s = StringIO()
    522522    num_errors = get_validation_errors(s)
    523523    if num_errors:
    524         sys.stderr.write("Error: %s couldn't be installed, because there were errors in your model:\n" % mod_name)
     524        sys.stderr.write("Error: %s couldn't be installed, because there were errors in your model:\n" % app_name)
    525525        s.seek(0)
    526526        sys.stderr.write(s.read())
    527527        sys.exit(1)
Back to Top