Ticket #3537: do_not_format_string.diff
File do_not_format_string.diff, 563 bytes (added by , 18 years ago) |
---|
-
management.py
old new def syncdb(): 499 499 print "Installing initial data for %s model" % model._meta.object_name 500 500 try: 501 501 for sql in initial_sql: 502 sql = sql.replace('%', '%%')503 502 cursor.execute(sql) 504 503 except Exception, e: 505 504 sys.stderr.write("Failed to install initial SQL data for %s model: %s" % \